summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authortrav90 <travawine@protonmail.ch>2016-07-25 16:44:30 -0500
committertrav90 <travawine@protonmail.ch>2016-07-25 16:44:30 -0500
commit06ac580fa281b1071e4f3b691fe8d874ee5462e9 (patch)
tree3c7ef5595538f298b1ab134378f538f0cef4cad9 /configure.in
parent5a624f99ae9808f65faab22f8e7e3bab5447664d (diff)
downloadpalemoon-gre-06ac580fa281b1071e4f3b691fe8d874ee5462e9.tar.gz
Disable (infinite) chunk recycling in jemalloc3
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 417c4ed0f..8c02dab3e 100644
--- a/configure.in
+++ b/configure.in
@@ -8976,6 +8976,9 @@ if test -z "$MOZ_NATIVE_JEMALLOC" -a "$MOZ_MEMORY" && test -n "$MOZ_JEMALLOC3" -
_save_cache_file="$cache_file"
cache_file=$_objdir/memory/jemalloc/src/config.cache
+ # Make Linux builds munmap freed chunks instead of recycling them.
+ ac_configure_args="$ac_configure_args --enable-munmap"
+
if ! test -e memory/jemalloc; then
mkdir -p memory/jemalloc
fi