From b0b02c0dc7d595b84641bc406cc261cac141a994 Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Tue, 12 Apr 2016 22:37:06 -0400 Subject: [PATCH] Move fprintf to GC trace --- gc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gc.c b/gc.c index 91fd712b..6e42f8ce 100644 --- a/gc.c +++ b/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) 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); -//#endif +#endif } // h_last = gc_heap_last(h); // cur_size = h_last->size;