diff options
author | jar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-18 16:42:32 +0000 |
---|---|---|
committer | jar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-18 16:42:32 +0000 |
commit | ebe9f5bb71cf2c3a746b36986e9cb6dbe99e456c (patch) | |
tree | 4e1b981c048ff05de931d850e5f00ee0b1f303ea /third_party | |
parent | 69e1906df2f65d859a214f02754b8934aea5d33d (diff) | |
download | chromium_src-ebe9f5bb71cf2c3a746b36986e9cb6dbe99e456c.zip chromium_src-ebe9f5bb71cf2c3a746b36986e9cb6dbe99e456c.tar.gz chromium_src-ebe9f5bb71cf2c3a746b36986e9cb6dbe99e456c.tar.bz2 |
Disable tcmalloc sampling by default.
It's not performance critical, but it allocates some
additional amount of memory on sampled allocations
which we probably do not want.
[This is really http://codereview.chromium.org/385105
written by antonm, and I'm just landing it.]
r=antonm,willchan
Review URL: http://codereview.chromium.org/401012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32329 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/tcmalloc/tcmalloc.gyp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/third_party/tcmalloc/tcmalloc.gyp b/third_party/tcmalloc/tcmalloc.gyp index dc14304..c0dcec5 100644 --- a/third_party/tcmalloc/tcmalloc.gyp +++ b/third_party/tcmalloc/tcmalloc.gyp @@ -14,6 +14,9 @@ 'tcmalloc/src', '../..', ], + 'defines': [ + ['NO_TCMALLOC_SAMPLES', ''] + ], 'direct_dependent_settings': { 'configurations': { 'Common': { |