* tests/test.c (check_heap_stats): Take into account the unmapped
memory size when checking for "Unexpected heap growth"; remove
FIXME.
+2009-11-05 Ivan Maidanski <ivmai@mail.ru>
+
+ * tests/test.c (check_heap_stats): Take into account the unmapped
+ memory size when checking for "Unexpected heap growth"; remove
+ FIXME.
+
2009-11-03 Hans Boehm <Hans.Boehm@hp.com>
* alloc.c: Revert last change.
(void)GC_printf("Incorrect execution - missed some allocations\n");
FAIL;
}
- if (GC_get_heap_size() > max_heap_sz*n_tests) {
- /* FIXME: is the condition correct? */
+ if (GC_get_heap_size() + GC_get_unmapped_bytes() > max_heap_sz*n_tests) {
(void)GC_printf("Unexpected heap growth - collector may be broken\n");
FAIL;
}