]> granicus.if.org Git - gc/commit
2009-09-10 Ivan Maidanski <ivmai@mail.ru>
authorivmai <ivmai>
Thu, 10 Sep 2009 20:08:05 +0000 (20:08 +0000)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 26 Jul 2011 17:06:46 +0000 (21:06 +0400)
commit14c324f8bdad7720cd39abe0cc86b0295b2f1260
treed7b5cdecd774e34e057fda27b975e5c5d88a76c7
parentf69ca1a96be89fa7e35ba7f8e958dc6a58a6a893
2009-09-10  Ivan Maidanski <ivmai@mail.ru>
(diff118_cvs - superseding diff53)

* allchblk.c (MUNMAP_THRESHOLD): Move macro definition out of
a function.
* allchblk.c (GC_unmap_threshold): New global variable definition
(initialized to MUNMAP_THRESHOLD).
* allchblk.c (GC_unmap_old): Use GC_unmap_threshold instead of
MUNMAP_THRESHOLD; skip unmapping if GC_unmap_threshold is 0.
* doc/README.environment (GC_UNMAP_THRESHOLD): Add information.
* misc.c (GC_unmap_threshold): New variable declaration.
* misc.c (GC_init_inner): Recognize "GC_UNMAP_THRESHOLD"
environment variable to set GC_unmap_threshold value (only if
USE_MUNMAP).
ChangeLog
allchblk.c
doc/README.environment
misc.c