summaryrefslogtreecommitdiffstats
path: root/chrome/app/chrome_dll_main.cc
diff options
context:
space:
mode:
authorhuanr@chromium.org <huanr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-30 19:13:34 +0000
committerhuanr@chromium.org <huanr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-30 19:13:34 +0000
commitc42a602518633773659c57b489a8c1f2ac5bcdef (patch)
tree811bd83cba7cc0c34c16034782f956db4f8fecf7 /chrome/app/chrome_dll_main.cc
parent37038d2f69ef8625473a45626e44af4ed7436965 (diff)
downloadchromium_src-c42a602518633773659c57b489a8c1f2ac5bcdef.zip
chromium_src-c42a602518633773659c57b489a8c1f2ac5bcdef.tar.gz
chromium_src-c42a602518633773659c57b489a8c1f2ac5bcdef.tar.bz2
Removing tcmalloc from gyp so we can build a version of chrome
without tcmalloc for testing purpose. The linker complains about _set_new_mode so I remove the call from the code for now. Note this change is different from the change Bradley is working on which provides an option for building chrome without tcmalloc. This change simply removes tcmalloc from the build. The plan is checking it in, keeping it in trunk for 24 hours, and then reverting it. The benefits are - Having another round of performance comparison between build with and w/o tcmalloc. - Having a full run of UI test under purify with tcmalloc disabled. - Getting a verified CL in case we'd like to build an alternative dev build w/o tcmalloc for A/B test. Review URL: http://codereview.chromium.org/159599 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22080 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/chrome_dll_main.cc')
-rw-r--r--chrome/app/chrome_dll_main.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/app/chrome_dll_main.cc b/chrome/app/chrome_dll_main.cc
index b375474..ddf5b9f 100644
--- a/chrome/app/chrome_dll_main.cc
+++ b/chrome/app/chrome_dll_main.cc
@@ -225,8 +225,8 @@ void RegisterInvalidParamHandler() {
_set_purecall_handler(PureCall);
// Gather allocation failure.
std::set_new_handler(&OnNoMemory);
- // Also enable the new handler for malloc() based failures.
- _set_new_mode(1);
+ // TODO: use _set_new_mode to enable the new handler for malloc() based
+ // failures.
#endif
}