From 38e9db06a02882c88bbfe26121fd7001523302f6 Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Sun, 8 Oct 2017 13:22:06 +0300 Subject: [PATCH] Print realloc_count in gctest Without this patch, realloc_count value is never used. * tests/test.c (check_heap_stats): Print realloc_count value (after printing other count variables). --- tests/test.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test.c b/tests/test.c index d6e99c4..11f2d83 100644 --- a/tests/test.c +++ b/tests/test.c @@ -1629,6 +1629,7 @@ void check_heap_stats(void) uncollectable_count); GC_printf("Allocated %d atomic objects\n", atomic_count); GC_printf("Allocated %d stubborn objects\n", stubborn_count); + GC_printf("Reallocated %d objects\n", realloc_count); GC_printf("Finalized %d/%d objects - ", finalized_count, finalizable_count); # ifndef GC_NO_FINALIZATION -- 2.7.4