mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-15 08:47:35 +02:00
Fixed debug statements
This commit is contained in:
parent
f6e14ef3a8
commit
ea6167b90b
1 changed files with 3 additions and 3 deletions
6
gc.c
6
gc.c
|
@ -808,7 +808,7 @@ void gc_mut_update(gc_thread_data *thd, object old_obj, object value)
|
|||
//printf("\n");
|
||||
gc_mark_gray(thd, old_obj);
|
||||
#if GC_DEBUG_VERBOSE
|
||||
if (is_object_type(old_obj)) {
|
||||
if (is_object_type(old_obj) && mark(old_obj) == gc_color_clear) {
|
||||
printf("added to mark buffer (trace) from write barrier %p:mark %d:", old_obj, mark(old_obj));
|
||||
Cyc_display(old_obj, stdout);
|
||||
printf("\n");
|
||||
|
@ -1127,12 +1127,12 @@ printf("DEBUG - after handshake sync 2\n");
|
|||
gc_stage = STAGE_TRACING;
|
||||
gc_post_handshake(STATUS_ASYNC);
|
||||
#if GC_DEBUG_TRACE
|
||||
printf("DEBUG - after post_handshake aync\n");
|
||||
printf("DEBUG - after post_handshake async\n");
|
||||
#endif
|
||||
gc_mark_globals();
|
||||
gc_wait_handshake();
|
||||
#if GC_DEBUG_TRACE
|
||||
printf("DEBUG - after wait_handshake aync\n");
|
||||
printf("DEBUG - after wait_handshake async\n");
|
||||
#endif
|
||||
//trace :
|
||||
gc_collector_trace();
|
||||
|
|
Loading…
Add table
Reference in a new issue