[Gc] Doc about USE_MMAP and USE_MUNMAP

Romano Paolo Tenca rotenca at telvia.it
Tue Jul 3 01:54:15 PDT 2007


 From Makefile.direct

# -DUSE_MMAP use MMAP instead of sbrk to get new memory.
#   Works for Solaris and Irix.
# -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.


This is a little confusing because USE_MUNMAP requires USE_MMAP.
Under Windows, I can use:

-DUSE_MMAP -DUSE_MUNMAP

to make UNMAP work.

-- 

Romano Paolo Tenca



More information about the Gc mailing list