summaryrefslogtreecommitdiffstats
path: root/third_party/tcmalloc
diff options
context:
space:
mode:
authorglider@chromium.org <glider@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-12 16:05:02 +0000
committerglider@chromium.org <glider@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-12 16:05:02 +0000
commit6874df503b2957535750b80225d78cf44f98fe90 (patch)
treeb7deb01a14fb82237582c39d7bf3378eebcd7762 /third_party/tcmalloc
parent518dc075fce1c6d0d5a90aa4601a2da4044de8c5 (diff)
downloadchromium_src-6874df503b2957535750b80225d78cf44f98fe90.zip
chromium_src-6874df503b2957535750b80225d78cf44f98fe90.tar.gz
chromium_src-6874df503b2957535750b80225d78cf44f98fe90.tar.bz2
Increase the size of buffer used by LogPrintf to 1600 bytes.
600 bytes is not enough to print full symbolized stacks of the memory leaks. TBR=willchan Review URL: http://codereview.chromium.org/550011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36011 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/tcmalloc')
-rw-r--r--third_party/tcmalloc/chromium/src/base/logging.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/tcmalloc/chromium/src/base/logging.h b/third_party/tcmalloc/chromium/src/base/logging.h
index 3b1dacf..3313d97 100644
--- a/third_party/tcmalloc/chromium/src/base/logging.h
+++ b/third_party/tcmalloc/chromium/src/base/logging.h
@@ -178,7 +178,7 @@ enum LogSeverity {INFO = -1, WARNING = -2, ERROR = -3, FATAL = -4};
inline void LogPrintf(int severity, const char* pat, va_list ap) {
// We write directly to the stderr file descriptor and avoid FILE
// buffering because that may invoke malloc()
- char buf[600];
+ char buf[1600];
vsnprintf(buf, sizeof(buf)-1, pat, ap);
if (buf[0] != '\0' && buf[strlen(buf)-1] != '\n') {
assert(strlen(buf)+1 < sizeof(buf));