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

Unified Diff: third_party/tcmalloc/chromium/src/span.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.h ('k') | third_party/tcmalloc/chromium/src/stack_trace_table.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/tcmalloc/chromium/src/span.cc
===================================================================
--- third_party/tcmalloc/chromium/src/span.cc (revision 126022)
+++ third_party/tcmalloc/chromium/src/span.cc (working copy)
@@ -89,6 +89,16 @@
return result;
}
+#if 0 // This isn't used. If that changes, rewrite to use TCMalloc_Printer.
+void DLL_Print(const char* label, const Span* list) {
+ MESSAGE("%-10s %p:", label, list);
+ for (const Span* s = list->next; s != list; s = s->next) {
+ MESSAGE(" <%p,%"PRIuPTR",%"PRIuPTR">", s, s->start, s->length);
+ }
+ MESSAGE("%s\n", ""); // %s is to get around a compiler error.
+}
+#endif
+
void DLL_Prepend(Span* list, Span* span) {
ASSERT(span->next == NULL);
ASSERT(span->prev == NULL);
« no previous file with comments | « third_party/tcmalloc/chromium/src/span.h ('k') | third_party/tcmalloc/chromium/src/stack_trace_table.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698