* 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).
+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).
+
2011-05-31 Ivan Maidanski <ivmai@mail.ru>
* tests/test.c (check_heap_stats): Adjust printf format specifier
# 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 */
LOCK();
# if defined(THREAD_LOCAL_ALLOC) || defined(GC_PTHREADS)
me = GC_lookup_thread_inner(thread_id);
- GC_ASSERT(!(me -> flags & FINISHED));
+ GC_ASSERT(!KNOWN_FINISHED(me));
# endif
# if defined(THREAD_LOCAL_ALLOC)
GC_destroy_thread_local(&(me->tlfs));