Bug 762448 - Disable tcache in jemalloc3. r=glandium
authorGuilherme Goncalves <guilherme.p.gonc@gmail.com>
Thu, 23 Oct 2014 02:36:00 -0400
changeset 214596 18aee2cd999e53a0365f195854ca3d86807ba147
parent 214595 c2e3537ca09fb4f04de70ed66073be7df872ab4e
child 214597 96e78a235b14223e130a5fe085fc32d5887009f8
push id27788
push userryanvm@gmail.com
push dateFri, 07 Nov 2014 18:23:58 +0000
treeherdermozilla-central@c39ff12ad6eb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersglandium
bugs762448
milestone36.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 762448 - Disable tcache in jemalloc3. r=glandium
memory/build/jemalloc_config.c
--- a/memory/build/jemalloc_config.c
+++ b/memory/build/jemalloc_config.c
@@ -5,17 +5,17 @@
 #ifdef MOZ_JEMALLOC3
 
 #define MOZ_JEMALLOC_IMPL
 
 #include "mozmemory_wrap.h"
 #include "mozilla/Types.h"
 
 /* Override some jemalloc defaults */
-MFBT_DATA const char * je_(malloc_conf) = "narenas:1,lg_chunk:20";
+MFBT_DATA const char * je_(malloc_conf) = "narenas:1,lg_chunk:20,tcache:false";
 
 #ifdef ANDROID
 #include <android/log.h>
 
 static void
 _je_malloc_message(void *cbopaque, const char *s)
 {
   __android_log_print(ANDROID_LOG_INFO, "GeckoJemalloc", "%s", s);