summaryrefslogtreecommitdiff
path: root/tests/test.c
diff options
context:
space:
mode:
authorivmai <ivmai>2011-05-31 09:09:34 +0000
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 21:06:59 +0400
commit26442e871507167317ebbc13feafca164354cf7d (patch)
tree6598665a034ebfa0cb32806b06feb9bb693e6e3d /tests/test.c
parent66289a86c874bd64660d9a5b49f2759c8096f429 (diff)
downloadbdwgc-26442e871507167317ebbc13feafca164354cf7d.tar.gz
2011-05-31 Ivan Maidanski <ivmai@mail.ru>
* win32_threads.c (GC_unregister_my_thread): Use KNOWN_FINISHED() instead of FINISHED macro. * tests/test.c (check_heap_stats): Round up max_heap_sz value for Win32 (same as for USE_MMAP).
Diffstat (limited to 'tests/test.c')
-rw-r--r--tests/test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test.c b/tests/test.c
index 153d9775..c486714a 100644
--- a/tests/test.c
+++ b/tests/test.c
@@ -1275,7 +1275,7 @@ void check_heap_stats(void)
# endif
# endif
max_heap_sz *= n_tests;
-# ifdef USE_MMAP
+# if defined(USE_MMAP) || defined(MSWIN32)
max_heap_sz = NUMBER_ROUND_UP(max_heap_sz, 4 * 1024 * 1024);
# endif
/* Garbage collect repeatedly so that all inaccessible objects */