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

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

Issue 9666033: 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
diff --git a/third_party/tcmalloc/chromium/src/span.cc b/third_party/tcmalloc/chromium/src/span.cc
index 426a6bd973f0d4376d5516feedba15ac61708f78..760094509e23a8e76ea98d2e53616a42c645c238 100644
--- a/third_party/tcmalloc/chromium/src/span.cc
+++ b/third_party/tcmalloc/chromium/src/span.cc
@@ -89,16 +89,6 @@ int DLL_Length(const Span* list) {
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