From: Ivan Maidanski Date: Sun, 8 Oct 2017 10:22:06 +0000 (+0300) Subject: Print realloc_count in gctest X-Git-Tag: v8.0.0~556 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=38e9db06a02882c88bbfe26121fd7001523302f6;p=gc 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). --- diff --git a/tests/test.c b/tests/test.c index d6e99c40..11f2d83a 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