Minor GC's happen all the time - logging is verbose

This commit is contained in:
Justin Ethier 2016-03-02 21:23:15 -05:00
parent c9a69ae208
commit 64e0255d69

View file

@ -2361,7 +2361,7 @@ int gc_minor(void *data, object low_limit, object high_limit, closure cont, obje
int scani = 0, alloci = 0; int scani = 0, alloci = 0;
int heap_grown = 0; int heap_grown = 0;
#if GC_DEBUG_TRACE #if GC_DEBUG_VERBOSE
fprintf(stderr, "started minor GC\n"); fprintf(stderr, "started minor GC\n");
#endif #endif
@ -2478,7 +2478,7 @@ int gc_minor(void *data, object low_limit, object high_limit, closure cont, obje
} }
scani++; scani++;
} }
#if GC_DEBUG_TRACE #if GC_DEBUG_VERBOSE
fprintf(stderr, "done with minor GC\n"); fprintf(stderr, "done with minor GC\n");
#endif #endif
return alloci; return alloci;