Added note

This commit is contained in:
Justin Ethier 2015-12-04 22:31:31 -05:00
parent 09f4a638cf
commit 17fbd853c7

2
gc.c
View file

@ -863,6 +863,8 @@ void gc_mut_cooperate(gc_thread_data *thd)
} }
else if (thd->gc_status == STATUS_SYNC2) { else if (thd->gc_status == STATUS_SYNC2) {
// Mark thread "roots" // Mark thread "roots"
// TODO: below is efficient, but is there a chance we are missing anything by
// doing this instead of marking the objects in moveBuf??
#if GC_DEBUG_VERBOSE #if GC_DEBUG_VERBOSE
fprintf(stderr, "gc_cont %p\n", thd->gc_cont); fprintf(stderr, "gc_cont %p\n", thd->gc_cont);
#endif #endif