mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-24 20:45:06 +02:00
Potential debug tracing
This commit is contained in:
parent
e5bf6e0e4e
commit
a5dcb6c6a2
1 changed files with 4 additions and 0 deletions
4
gc.c
4
gc.c
|
@ -1035,6 +1035,10 @@ void gc_empty_collector_stack()
|
||||||
// Mark stack is only used by the collector thread, so no sync needed
|
// Mark stack is only used by the collector thread, so no sync needed
|
||||||
while (mark_stack_i > 0) { // not empty
|
while (mark_stack_i > 0) { // not empty
|
||||||
mark_stack_i--;
|
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]);
|
gc_mark_black(mark_stack[mark_stack_i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue