Potential debug tracing

This commit is contained in:
Justin Ethier 2015-12-09 02:59:25 -05:00
parent e5bf6e0e4e
commit a5dcb6c6a2

4
gc.c
View file

@ -1035,6 +1035,10 @@ void gc_empty_collector_stack()
// Mark stack is only used by the collector thread, so no sync needed
while (mark_stack_i > 0) { // not empty
mark_stack_i--;
//#if GC_DEBUG_VERBOSE
// fprintf(stderr, "gc_mark_black mark stack %p \n",
// mark_stack[mark_stack_i]);
//#endif
gc_mark_black(mark_stack[mark_stack_i]);
}
}