summaryrefslogtreecommitdiffstats
path: root/third_party/tcmalloc
diff options
context:
space:
mode:
authorjar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-05 19:24:02 +0000
committerjar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-05 19:24:02 +0000
commit4a6b237ac9dad3e6ea43d2a22dbda63bbe5e1fe7 (patch)
tree93b5bbd9bfa422b19b3426bf3fb38a3406f92077 /third_party/tcmalloc
parent5072aee46aa709d9a67a3c988c5934bec67d71e5 (diff)
downloadchromium_src-4a6b237ac9dad3e6ea43d2a22dbda63bbe5e1fe7.zip
chromium_src-4a6b237ac9dad3e6ea43d2a22dbda63bbe5e1fe7.tar.gz
chromium_src-4a6b237ac9dad3e6ea43d2a22dbda63bbe5e1fe7.tar.bz2
Enable TCMalloc
With TCMalloc now being more conservative about commitment, this change will reenable it as the default allocator. r=mbelshe,jamesr Review URL: http://codereview.chromium.org/246089 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28020 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/tcmalloc')
-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 fc93201..2ef4a7a 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 = JEMALLOC;
+static Allocator allocator = TCMALLOC;
// We include tcmalloc and the win_allocator to get as much inlining as
// possible.