[tor-commits] [tor-browser/tor-browser-52.1.2esr-7.0-1] Revert "Bug 10281: Use jemalloc4 and abort on redzone corruption"

gk at torproject.org gk at torproject.org
Sat Jun 3 19:07:06 UTC 2017


commit 272a0f8b342d90d0587b73f22a535561fb90170b
Author: Georg Koppen <gk at torproject.org>
Date:   Sat Jun 3 19:06:31 2017 +0000

    Revert "Bug 10281: Use jemalloc4 and abort on redzone corruption"
    
    This reverts commit b9e3e965adc6929383f8d30ba893ea5eb4fbc55c.
---
 .mozconfig                       | 1 -
 memory/build/jemalloc_config.cpp | 4 ++--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/.mozconfig b/.mozconfig
index 4eeb339..7d9ab1c 100755
--- a/.mozconfig
+++ b/.mozconfig
@@ -26,4 +26,3 @@ ac_add_options --disable-webrtc
 # Let's make sure no preference is enabling either Adobe's or Google's CDM.
 ac_add_options --disable-eme
 #ac_add_options --disable-ctypes
-ac_add_options --enable-jemalloc=4
diff --git a/memory/build/jemalloc_config.cpp b/memory/build/jemalloc_config.cpp
index 7962147..441fd8a 100644
--- a/memory/build/jemalloc_config.cpp
+++ b/memory/build/jemalloc_config.cpp
@@ -29,10 +29,10 @@
 #ifdef DEBUG
 #define MOZ_MALLOC_BUILD_OPTIONS ",junk:true"
 #else
-#define MOZ_MALLOC_BUILD_OPTIONS ",junk:true"
+#define MOZ_MALLOC_BUILD_OPTIONS ",junk:free"
 #endif
 
-#define MOZ_MALLOC_OPTIONS "narenas:1,tcache:false,redzone:true,abort:true"
+#define MOZ_MALLOC_OPTIONS "narenas:1,tcache:false"
 MFBT_DATA const char* je_(malloc_conf) =
   MOZ_MALLOC_OPTIONS MOZ_MALLOC_BUILD_OPTIONS;
 



More information about the tor-commits mailing list