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

Unified Diff: Source/wtf/ListHashSet.h

Issue 357603002: split MEMORY_TOOL_REPLACES_ALLOCATOR into initial size and malloc. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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 | « Source/wtf/HashTraits.h ('k') | Source/wtf/Vector.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/ListHashSet.h
diff --git a/Source/wtf/ListHashSet.h b/Source/wtf/ListHashSet.h
index 8788d99f83de8f8a6b258131c2d77c2597383413..e9e132af13b908b1a5542a7c7175bbd39160b4ae 100644
--- a/Source/wtf/ListHashSet.h
+++ b/Source/wtf/ListHashSet.h
@@ -338,7 +338,7 @@ namespace WTF {
Node* m_freeList;
bool m_isDoneWithInitialFreeList;
-#if defined(MEMORY_TOOL_REPLACES_ALLOCATOR)
+#if defined(MEMORY_SANITIZER_INITIAL_SIZE)
// The allocation pool for nodes is one big chunk that ASAN has no
// insight into, so it can cloak errors. Make it as small as possible
// to force nodes to be allocated individually where ASAN can see them.
« no previous file with comments | « Source/wtf/HashTraits.h ('k') | Source/wtf/Vector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698