From 3c4e3015463fd407ccd932e5da17e3c4bc8e3c5c Mon Sep 17 00:00:00 2001 From: "willchan@chromium.org" Date: Wed, 25 Nov 2009 00:17:53 +0000 Subject: Enable TCMalloc on Linux by default. This change also reworks the tcmalloc dependency to be added only to chrome and test_shell, instead of base. This is necessary since otherwise tcmalloc will be double initialized (by both the main executable and dlopen'd shared objects like the npapitestplugin.so). Add valgrind suppressions. This are invalid reads on static initialization in the VDSOSupport module. I haven't investigated it yet, but I suspect they're benign. BUG=http://crbug.com/28149, http://crbug.com/28385 Review URL: http://codereview.chromium.org/399081 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33010 0039d316-1c4b-4281-b951-d872f2087c98 --- build/common.gypi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build') diff --git a/build/common.gypi b/build/common.gypi index 7f3bc59..e6906fc 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -180,7 +180,7 @@ 'linux_strip_binary%': 0, # Enable TCMalloc. - 'linux_use_tcmalloc%': 0, + 'linux_use_tcmalloc%': 1, # Set to select the Title Case versions of strings in GRD files. 'use_titlecase_in_grd_files%': 0, -- cgit v1.1