aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-xtests/runner.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 28675e9b..d0e641e6 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -7942,8 +7942,12 @@ def process(filename):
// This should never trigger since local5 is uncollectable
GC_REGISTER_FINALIZER_NO_ORDER(local5, finalizer, (void*)5, 0, 0);
+ printf("heap size = %d\n", GC_get_heap_size());
+
local4 = GC_REALLOC(local4, 24);
+ printf("heap size = %d\n", GC_get_heap_size());
+
local6 = GC_MALLOC(12);
GC_REGISTER_FINALIZER_NO_ORDER(local6, finalizer, (void*)6, 0, 0);
// This should be the same as a free
@@ -7984,6 +7988,8 @@ finalizing2 2 (global == 0)
finalizing2 3 (global == 0)
*
finalizing 0 (global == 1)
+heap size = 72
+heap size = 84
finalizing 6 (global == 0)
object scan test test
finalizing 4 (global == 0)