2010-07-14 Ivan Maidanski <ivmai@mail.ru>
authorivmai <ivmai>
Wed, 14 Jul 2010 05:38:40 +0000 (05:38 +0000)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 26 Jul 2011 17:06:54 +0000 (21:06 +0400)
* tests/test.c (check_heap_stats): Increase max_heap_sz by 25% for
32-bit CPUs (to prevent "Unexpected heap growth" failure).

ChangeLog
tests/test.c

index dd583b2..4c2cfd9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-07-14  Ivan Maidanski <ivmai@mail.ru>
+
+       * tests/test.c (check_heap_stats): Increase max_heap_sz by 25% for
+       32-bit CPUs (to prevent "Unexpected heap growth" failure).
+
 2010-07-13  Ivan Maidanski <ivmai@mail.ru>
 
        * gc_dlopen.c (dlopen): Prototype REAL_DLFUNC if GC_USE_LD_WRAP.
index ad07c78..f98b00f 100644 (file)
@@ -1262,7 +1262,7 @@ void check_heap_stats(void)
 #     if CPP_WORDSZ == 64
         max_heap_sz = 19000000;
 #     else
-        max_heap_sz = 12000000;
+        max_heap_sz = 15000000;
 #     endif
 #   endif
 #   ifdef GC_DEBUG