summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authorrtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-19 23:00:12 +0000
committerrtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-19 23:00:12 +0000
commita6a5478d1cd22f4c54e31e263bdacbe01eefcaff (patch)
tree2ef6fab2240837c3fbdcbc18f816629b3d4d9126 /base
parent1c29dc75a5a356b37778b6ba798051073165c439 (diff)
downloadchromium_src-a6a5478d1cd22f4c54e31e263bdacbe01eefcaff.zip
chromium_src-a6a5478d1cd22f4c54e31e263bdacbe01eefcaff.tar.gz
chromium_src-a6a5478d1cd22f4c54e31e263bdacbe01eefcaff.tar.bz2
Switch to using TCMALLOC in browser process to fix WinHeap hanging IO thread for 15 secs.
Note that the renderer process is still using TCMALLOC, and this only changes the default in the browser process. BUG=83285 TEST=memory unit tests R=jar Review URL: http://codereview.chromium.org/7047018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85998 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r--base/allocator/allocator_shim.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/allocator/allocator_shim.cc b/base/allocator/allocator_shim.cc
index 97946e7..caf6d7e 100644
--- a/base/allocator/allocator_shim.cc
+++ b/base/allocator/allocator_shim.cc
@@ -41,7 +41,7 @@ typedef enum {
// See SetupSubprocessAllocator() to specify a default secondary (subprocess)
// allocator.
// TODO(jar): Switch to using TCMALLOC for the renderer as well.
-static Allocator allocator = WINHEAP;
+static Allocator allocator = TCMALLOC;
// The names of the environment variables that can optionally control the
// selection of the allocator. The primary may be used to control overall