summaryrefslogtreecommitdiffstats
path: root/third_party/tcmalloc/chromium/src/common.h
diff options
context:
space:
mode:
authorglider@chromium.org <glider@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-20 12:22:51 +0000
committerglider@chromium.org <glider@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-20 12:22:51 +0000
commitdb3fb1cb119f862b96ca3de8f74ff647fef6f94e (patch)
treed547159ec152ac05ed793f9cac867b500a42a8f7 /third_party/tcmalloc/chromium/src/common.h
parentfa82f93da256dede111ee4143c340e55a195d7e3 (diff)
downloadchromium_src-db3fb1cb119f862b96ca3de8f74ff647fef6f94e.zip
chromium_src-db3fb1cb119f862b96ca3de8f74ff647fef6f94e.tar.gz
chromium_src-db3fb1cb119f862b96ca3de8f74ff647fef6f94e.tar.bz2
The newer version of tcmalloc should fix the problems with running tcmalloc under Valgrind.
Review URL: http://codereview.chromium.org/1735024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47789 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/tcmalloc/chromium/src/common.h')
-rw-r--r--third_party/tcmalloc/chromium/src/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/third_party/tcmalloc/chromium/src/common.h b/third_party/tcmalloc/chromium/src/common.h
index 53a0a0b..f9557c9 100644
--- a/third_party/tcmalloc/chromium/src/common.h
+++ b/third_party/tcmalloc/chromium/src/common.h
@@ -62,6 +62,7 @@ static const size_t kPageSize = 1 << kPageShift;
static const size_t kMaxSize = 8u * kPageSize;
static const size_t kAlignment = 8;
static const size_t kNumClasses = 61;
+static const size_t kLargeSizeClass = 0;
// Maximum length we allow a per-thread free-list to have before we
// move objects from it into the corresponding central free-list. We