Bug 762449 - Enable jemalloc 3 by default, but don' make it ride the trains yet. r=njn
☠☠ backed out by ffafa737cb7c ☠ ☠
authorMike Hommey <mh+mozilla@glandium.org>
Tue, 13 Jan 2015 09:00:53 +0900
changeset 252230 cf4eb744f2e107fc912070468f1196a9569fcc14
parent 252229 081f35abf3bb95939293ccd863d8d17d47dd0c77
child 252231 02f84b2d07ba32457d15cafc52f9cd19c214b1b0
push id721
push userjlund@mozilla.com
push dateTue, 21 Apr 2015 23:03:33 +0000
treeherdermozilla-release@d27c9211ebb3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnjn
bugs762449
milestone38.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 762449 - Enable jemalloc 3 by default, but don' make it ride the trains yet. r=njn
configure.in
--- a/configure.in
+++ b/configure.in
@@ -7195,16 +7195,19 @@ if test -z "$MOZ_MEMORY"; then
     *-mingw*)
       if test -z "$WIN32_REDIST_DIR" -a -z "$MOZ_DEBUG"; then
         AC_MSG_WARN([When not building jemalloc, you need to set WIN32_REDIST_DIR to the path to the Visual C++ Redist (usually VCINSTALLDIR\redist\x86\Microsoft.VC80.CRT, for VC++ v8) if you intend to distribute your build.])
       fi
       ;;
   esac
 else
   AC_DEFINE(MOZ_MEMORY)
+  if test -n "$NIGHTLY_BUILD"; then
+    MOZ_JEMALLOC3=1
+  fi
   if test -n "$MOZ_JEMALLOC3"; then
     AC_DEFINE(MOZ_JEMALLOC3)
   fi
   if test "x$MOZ_DEBUG" = "x1"; then
     AC_DEFINE(MOZ_MEMORY_DEBUG)
   fi
   dnl The generic feature tests that determine how to compute ncpus are long and
   dnl complicated.  Therefore, simply define special cpp variables for the