summaryrefslogtreecommitdiffstats
path: root/third_party/tcmalloc
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-27 23:05:53 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-27 23:05:53 +0000
commit63c339b3d57a95d3caf47558cae6cef1ef23b676 (patch)
tree7097dea341dd0a5a6152456b1f2b763dd0debfcf /third_party/tcmalloc
parentb82a049e6ffc65c14daf1c2c8bee6390cb7fe1fa (diff)
downloadchromium_src-63c339b3d57a95d3caf47558cae6cef1ef23b676.zip
chromium_src-63c339b3d57a95d3caf47558cae6cef1ef23b676.tar.gz
chromium_src-63c339b3d57a95d3caf47558cae6cef1ef23b676.tar.bz2
Disable TCMalloc heap sampling.
BUG=38960,40149 Review URL: http://codereview.chromium.org/2260003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48445 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/tcmalloc')
-rw-r--r--third_party/tcmalloc/chromium/src/sampler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/tcmalloc/chromium/src/sampler.cc b/third_party/tcmalloc/chromium/src/sampler.cc
index cbc6ab4..bdf8779 100644
--- a/third_party/tcmalloc/chromium/src/sampler.cc
+++ b/third_party/tcmalloc/chromium/src/sampler.cc
@@ -48,7 +48,7 @@ DEFINE_int64(tcmalloc_sample_parameter, 0,
"Unused: code is compiled with NO_TCMALLOC_SAMPLES");
#else
DEFINE_int64(tcmalloc_sample_parameter,
- EnvToInt64("TCMALLOC_SAMPLE_PARAMETER", 1<<19),
+ EnvToInt64("TCMALLOC_SAMPLE_PARAMETER", 0),
"The approximate gap in bytes between sampling actions. "
"This must be between 1 and 1<<58.");
// Note: there are other places in this file where the number 19 occurs.