summaryrefslogtreecommitdiff
path: root/tests/gctest.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gctest.c')
-rw-r--r--tests/gctest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gctest.c b/tests/gctest.c
index ba60f108..16959648 100644
--- a/tests/gctest.c
+++ b/tests/gctest.c
@@ -1558,7 +1558,7 @@ void run_one_test(void)
AO_fetch_and_add1(&collectable_count);
/* TODO: GC_memalign and friends are not tested well. */
- for (i = sizeof(GC_word); i < 512; i *= 2) {
+ for (i = sizeof(GC_word); i <= HBLKSIZE * 4; i *= 2) {
p = GC_memalign(i, 17);
CHECK_OUT_OF_MEMORY(p);
AO_fetch_and_add1(&collectable_count);