]> granicus.if.org Git - gc/commit
Enable memory unmapping by default
authorIvan Maidanski <ivmai@mail.ru>
Sat, 14 Apr 2018 06:26:03 +0000 (09:26 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Sat, 14 Apr 2018 06:26:03 +0000 (09:26 +0300)
commit1aabce0f9fd0324102d173192f7d48cf1cf25670
tree3cbeb2d0c71a8aeac5905e70cf75606dc90c7f35
parent9b9b7e368ccb2c0833c5f861846a1925ccf84595
Enable memory unmapping by default

Issue #152 (bdwgc).

* CMakeLists.txt (enable_munmap): New OPTION (on by default).
* CMakeLists.txt [enable_munmap] (USE_MMAP, USE_MUNMAP): Define macro.
* CMakeLists.txt [enable_checksums && enable_munmap): Issue MESSAGE
that CHECKSUMS is not compatible with USE_MUNMAP.
* configure.ac (AC_ARG_ENABLE(munmap)): Update the help message.
* configure.ac [$enable_munmap=""]: Treat as enable_munmap="yes".
* configure.ac [$MUNMAP_THRESHOLD=""]: Treat as MUNMAP_THRESHOLD="yes".
* doc/README.win32 (GNU Tools): Note about "--disable-munmap" option.
* doc/debugging.md (Unexpectedly Large Heap): Remove advice about
"--enable-munmap" option.
CMakeLists.txt
configure.ac
doc/README.win32
doc/debugging.md