Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Unified Diff: third_party/tcmalloc/chromium/src/stack_trace_table.cc

Issue 9667026: Revert 126020 - Experiment for updating the tcmalloc chromium branch to r144 (gperftools 2.0). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/tcmalloc/chromium/src/span.cc ('k') | third_party/tcmalloc/chromium/src/stacktrace.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/tcmalloc/chromium/src/stack_trace_table.cc
===================================================================
--- third_party/tcmalloc/chromium/src/stack_trace_table.cc (revision 126022)
+++ third_party/tcmalloc/chromium/src/stack_trace_table.cc (working copy)
@@ -35,7 +35,7 @@
#include <string.h> // for NULL, memset
#include "base/spinlock.h" // for SpinLockHolder
#include "common.h" // for StackTrace
-#include "internal_logging.h" // for ASSERT, Log
+#include "internal_logging.h" // for MESSAGE, ASSERT
#include "page_heap_allocator.h" // for PageHeapAllocator
#include "static_vars.h" // for Static
@@ -93,8 +93,7 @@
bucket_total_++;
b = Static::bucket_allocator()->New();
if (b == NULL) {
- Log(kLog, __FILE__, __LINE__,
- "tcmalloc: could not allocate bucket", sizeof(*b));
+ MESSAGE("tcmalloc: could not allocate bucket", sizeof(*b));
error_ = true;
} else {
b->hash = h;
@@ -115,9 +114,8 @@
const int out_len = bucket_total_ * 3 + depth_total_ + 1;
void** out = new void*[out_len];
if (out == NULL) {
- Log(kLog, __FILE__, __LINE__,
- "tcmalloc: allocation failed for stack traces",
- out_len * sizeof(*out));
+ MESSAGE("tcmalloc: allocation failed for stack traces\n",
+ out_len * sizeof(*out));
return NULL;
}
« no previous file with comments | « third_party/tcmalloc/chromium/src/span.cc ('k') | third_party/tcmalloc/chromium/src/stacktrace.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698