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

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

Issue 8242017: Enable TCMalloc doubly-linked freelist in release builds (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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 | « base/allocator/allocator.gyp ('k') | third_party/tcmalloc/chromium/src/free_list.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/tcmalloc/chromium/src/free_list.h
===================================================================
--- third_party/tcmalloc/chromium/src/free_list.h (revision 104961)
+++ third_party/tcmalloc/chromium/src/free_list.h (working copy)
@@ -43,9 +43,12 @@
#include "internal_logging.h" // For CRASH() macro.
#include "linked_list.h"
+// Remove to enable singly linked lists (the default for open source tcmalloc).
+#define TCMALLOC_USE_DOUBLYLINKED_FREELIST
+
namespace tcmalloc {
-#ifdef TCMALLOC_USE_DOUBLYLINKED_FREELIST
+#if defined(TCMALLOC_USE_DOUBLYLINKED_FREELIST)
// size class information for common.h.
static const bool kSupportsDoublyLinkedList = true;
« no previous file with comments | « base/allocator/allocator.gyp ('k') | third_party/tcmalloc/chromium/src/free_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698