mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-24 20:45:06 +02:00
Move fprintf to GC trace
This commit is contained in:
parent
a05e3af2f3
commit
b0b02c0dc7
1 changed files with 2 additions and 2 deletions
4
gc.c
4
gc.c
|
@ -400,9 +400,9 @@ int gc_grow_heap(gc_heap *h, int heap_type, size_t size, size_t chunk_size)
|
||||||
}
|
}
|
||||||
if (new_size == 0)
|
if (new_size == 0)
|
||||||
new_size = prev_size + h_last->size;
|
new_size = prev_size + h_last->size;
|
||||||
//#if GC_DEBUG_TRACE
|
#if GC_DEBUG_TRACE
|
||||||
fprintf(stderr, "Growing heap %d new page size = %zu\n", heap_type, new_size);
|
fprintf(stderr, "Growing heap %d new page size = %zu\n", heap_type, new_size);
|
||||||
//#endif
|
#endif
|
||||||
}
|
}
|
||||||
// h_last = gc_heap_last(h);
|
// h_last = gc_heap_last(h);
|
||||||
// cur_size = h_last->size;
|
// cur_size = h_last->size;
|
||||||
|
|
Loading…
Add table
Reference in a new issue