summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-01 05:46:09 +0000
committerjar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-01 05:46:09 +0000
commitd24156ccd8a316d2a22c506972aa8fa3bc68a256 (patch)
treed9e4ebb8aefc6044dc0b4b2ef1016a92abef7a76
parent9b7779b1a7559e4af1720408beb6e0b931e8435a (diff)
downloadchromium_src-d24156ccd8a316d2a22c506972aa8fa3bc68a256.zip
chromium_src-d24156ccd8a316d2a22c506972aa8fa3bc68a256.tar.gz
chromium_src-d24156ccd8a316d2a22c506972aa8fa3bc68a256.tar.bz2
Set JEMalloc as the default allocator (instead of TCMalloc)
I got this change approved to try out earlier, and landed it. I rolled it back (to be conservative) after I got a chromebot run started. Since that bot run didn't show any giant problems, this will re-land the change, so we can see how users (such as on a dev channel release) do with this allocator. This is really experimental... but it will give us some info to make a better decision between ongoing tuning of TCMalloc and at least temporarilly using JEMalloc. tbr=mbelshe Review URL: http://codereview.chromium.org/256024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27708 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--third_party/tcmalloc/allocator_shim.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/tcmalloc/allocator_shim.cc b/third_party/tcmalloc/allocator_shim.cc
index 2ef4a7a..fc93201 100644
--- a/third_party/tcmalloc/allocator_shim.cc
+++ b/third_party/tcmalloc/allocator_shim.cc
@@ -35,7 +35,7 @@ typedef enum {
} Allocator;
// This is the default allocator.
-static Allocator allocator = TCMALLOC;
+static Allocator allocator = JEMALLOC;
// We include tcmalloc and the win_allocator to get as much inlining as
// possible.