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

Unified Diff: third_party/tcmalloc/chromium/src/free_list.h

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
Index: third_party/tcmalloc/chromium/src/free_list.h
diff --git a/third_party/tcmalloc/chromium/src/free_list.h b/third_party/tcmalloc/chromium/src/free_list.h
index e1a88af881b5c558342ac2f7ebeb2d24a1928290..5b4cacfe120a6c0819336816848f2fd326929380 100644
--- a/third_party/tcmalloc/chromium/src/free_list.h
+++ b/third_party/tcmalloc/chromium/src/free_list.h
@@ -40,7 +40,7 @@
#define TCMALLOC_FREE_LIST_H_
#include <stddef.h>
-#include "internal_logging.h" // For CRASH() macro.
+#include "internal_logging.h"
#include "linked_list.h"
// Remove to enable singly linked lists (the default for open source tcmalloc).
@@ -77,7 +77,7 @@ inline void FL_Push(void **list, void *element) {
SLL_Push(list,element);
return;
}
- CRASH("Double Free of %p detected", element);
+ Log(kCrash, __FILE__, __LINE__, "Double Free of %p detected", element);
}
inline void *FL_Pop(void **list) {
« no previous file with comments | « third_party/tcmalloc/chromium/src/debugallocation.cc ('k') | third_party/tcmalloc/chromium/src/free_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698