summaryrefslogtreecommitdiffstats
path: root/third_party
diff options
context:
space:
mode:
authorjar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-01 04:23:24 +0000
committerjar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-01 04:23:24 +0000
commit8a3a2623cf9d6ff5af074549261f3910e963331e (patch)
treef445b8e4f4f6ef9bb5c30d6de56ceef14027c155 /third_party
parent8bc7810ae3c5b608a9668c765bf83c30a6461aa0 (diff)
downloadchromium_src-8a3a2623cf9d6ff5af074549261f3910e963331e.zip
chromium_src-8a3a2623cf9d6ff5af074549261f3910e963331e.tar.gz
chromium_src-8a3a2623cf9d6ff5af074549261f3910e963331e.tar.bz2
Try to use JEMALLOC as the default allocator
r=jamesr,mbelshe Review URL: http://codereview.chromium.org/244055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27702 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party')
-rw-r--r--third_party/tcmalloc/allocator_shim.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/tcmalloc/allocator_shim.cc b/third_party/tcmalloc/allocator_shim.cc
index f5fb81c..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.
@@ -257,4 +257,4 @@ extern "C" void* _crtheap = reinterpret_cast<void*>(1);
#include "generic_allocators.cc"
-} // extern C
+} // extern C