[Gc] Doc about USE_MMAP and USE_MUNMAP

Boehm, Hans hans.boehm at hp.com
Mon Jul 9 16:36:34 PDT 2007


Thanks.  I documented that in Makefile.direct for now, though I haven't
yet checked that in.

Hans

> -----Original Message-----
> From: gc-bounces at napali.hpl.hp.com 
> [mailto:gc-bounces at napali.hpl.hp.com] On Behalf Of Romano Paolo Tenca
> Sent: Tuesday, July 03, 2007 1:54 AM
> To: Gc at napali.hpl.hp.com
> Subject: [Gc] Doc about USE_MMAP and USE_MUNMAP
> 
>  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
> 
> _______________________________________________
> Gc mailing list
> Gc at linux.hpl.hp.com
> http://www.hpl.hp.com/hosted/linux/mail-archives/gc/
> 



More information about the Gc mailing list