summaryrefslogtreecommitdiff
path: root/boehm-gc/tests
diff options
context:
space:
mode:
Diffstat (limited to 'boehm-gc/tests')
-rw-r--r--boehm-gc/tests/test.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/boehm-gc/tests/test.c b/boehm-gc/tests/test.c
index e1676aadead..f4431739382 100644
--- a/boehm-gc/tests/test.c
+++ b/boehm-gc/tests/test.c
@@ -1367,6 +1367,10 @@ void check_heap_stats()
max_heap_sz = 11000000;
}
# endif
+# ifndef ALIGN_DOUBLE
+ /* We end up needing more small object pages. */
+ max_heap_sz += 2000000;
+# endif
# ifdef GC_DEBUG
max_heap_sz *= 2;
# ifdef SAVE_CALL_CHAIN