]> granicus.if.org Git - gc/commit
Do not avoid splitting if nothing currently unmapped (USE_MUNMAP)
authorIvan Maidanski <ivmai@mail.ru>
Mon, 13 Feb 2012 04:09:52 +0000 (08:09 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 13 Feb 2012 10:11:09 +0000 (14:11 +0400)
commit701f219b175688d7743db1f3f5c8d0feee447b5a
tree99e8bf87a53b6bcb72fdccff0384be7857592a45
parentdfadba718ffa54d03c6f09eff3ab13534579f07c
Do not avoid splitting if nothing currently unmapped (USE_MUNMAP)

* allchblk.c (GC_free_bytes, GC_enough_large_bytes_left,
GC_compute_large_free_bytes): Define even for USE_MUNMAP case.
* allchblk.c (INCR_FREE_BYTES, FREE_ASSERT): Always define as
non-empty.
* allchblk.c (GC_compute_large_free_bytes, GC_print_hblkfreelist,
GC_remove_from_fl): Remove check of USE_MUNMAP (same implementation as
if without memory unmapping).
* allchblk.c (GC_compute_large_free_bytes): Remove FIXME.
* allchblk.c (GC_allochblk): Do not avoid splitting if
GC_unmapped_bytes is zero (meaning nothing unmapped); add FIXME to
relax the condition.
allchblk.c