From: Michael DeRoy Date: Mon, 30 Jul 2018 06:19:33 +0000 (+0300) Subject: New configure --enable-mmap option X-Git-Tag: v8.0.0~50 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=76a051441d6e8387728f3e317558496018d600dc;p=gc New configure --enable-mmap option (part of commit 6be3fb4 from Unity-Technologies/bdwgc) Issue #173 (bdwgc). * configure.ac (mmap): New AC_ARG_ENABLE (store the result to gc_use_mmap). --- diff --git a/configure.ac b/configure.ac index a732555d..5d5a62fa 100644 --- a/configure.ac +++ b/configure.ac @@ -913,6 +913,11 @@ if test "${enable_gc_assertions}" = yes; then [Define to enable internal debug assertions.]) fi +AC_ARG_ENABLE(mmap, + [AC_HELP_STRING([--enable-mmap], + [use mmap instead of sbrk to expand the heap])], + gc_use_mmap=$enableval) + AC_ARG_ENABLE(munmap, [AC_HELP_STRING([--enable-munmap=N], [return page to the OS if empty for N collections