From: Ivan Maidanski Date: Sun, 8 Oct 2017 10:22:06 +0000 (+0300) Subject: Print realloc_count in gctest X-Git-Tag: v7.6.2~52 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=25b4566df248f8b7fcd8af3e51220726c7b2e343;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 1814cbcd..f3528c3e 100644 --- a/tests/test.c +++ b/tests/test.c @@ -1643,6 +1643,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