path: root/
diff options
authorhboehm <hboehm>2007-07-23 23:01:46 +0200
committerIvan Maidanski <>2011-07-26 19:06:41 +0200
commit03fd483a45856f6a1ea12544b19c51fa9a57a6d5 (patch)
treeca87091b85d47746b727fe681f4fd644dfef5353 /
parentdb52f9954a99b209a027a7cf4a018db6525e1881 (diff)
2007-07-23 Hans Boehm <>
* alloc.c (GC_stopped_mark): Call GC_add_current_malloc_heap() while world is still running. * os_dep.c (GC_is_heap_base): Don't call GC_add_current_malloc_heap() with world stopped. * include/gc.h (GC_INIT for cygwin): Always call GC_add_roots. * misc.c (GC_init/GC_init_inner): Perform all work in GC_init_inner. * Expand -DUSE_MUNMAP comment. 2007-07-23 Hans Boehm <> (really Jim Marshall) * include/gc.h: Define uintptr_t explicitly for VC++6. * msvc_dbg.c (GetModuleBase): Revert to strcat if strcat_s doesn't exist.
Diffstat (limited to '')
1 files changed, 2 insertions, 1 deletions
diff --git a/ b/
index 40195a5..3d611aa 100644
--- a/
+++ b/
@@ -183,7 +183,8 @@ HOSTCFLAGS=$(CFLAGS)
# -DUSE_MUNMAP causes memory to be returned to the OS under the right
# circumstances. This currently disables VM-based incremental collection.
# This is currently experimental, and works only under some Unix,
-# Linux and Windows versions.
+# Linux and Windows versions. Requires -DUSE_MMAP, even under Windows,
+# where USE_MMAP doesn't do anything.
# -DMMAP_STACKS (for Solaris threads) Use mmap from /dev/zero rather than
# GC_scratch_alloc() to get stack memory.
# -DPRINT_BLACK_LIST Whenever a black list entry is added, i.e. whenever