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

Unified Diff: third_party/WebKit/Source/platform/heap/BlinkGC.h

Issue 1477023003: Refactor the Heap into ThreadHeap to prepare for per thread heaps Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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/WebKit/Source/platform/heap/BlinkGC.h
diff --git a/third_party/WebKit/Source/platform/heap/BlinkGC.h b/third_party/WebKit/Source/platform/heap/BlinkGC.h
index 688525a1d3873572ad96be47c19950114f3d7897..e7505abdd78c26d08c2060f400b0ece3367f03dd 100644
--- a/third_party/WebKit/Source/platform/heap/BlinkGC.h
+++ b/third_party/WebKit/Source/platform/heap/BlinkGC.h
@@ -34,7 +34,7 @@ using PreFinalizerCallback = bool(*)(void*);
H(Node) \
H(CSSValue)
-#define TypedHeapEnumName(Type) Type##HeapIndex,
+#define TypedHeapEnumName(Type) Type##ArenaIndex,
class PLATFORM_EXPORT BlinkGC final {
STATIC_ONLY(BlinkGC);
@@ -80,21 +80,21 @@ public:
};
enum HeapIndices {
- EagerSweepHeapIndex = 0,
- NormalPage1HeapIndex,
- NormalPage2HeapIndex,
- NormalPage3HeapIndex,
- NormalPage4HeapIndex,
- Vector1HeapIndex,
- Vector2HeapIndex,
- Vector3HeapIndex,
- Vector4HeapIndex,
- InlineVectorHeapIndex,
- HashTableHeapIndex,
+ EagerSweepArenaIndex = 0,
+ NormalPage1ArenaIndex,
+ NormalPage2ArenaIndex,
+ NormalPage3ArenaIndex,
+ NormalPage4ArenaIndex,
+ Vector1ArenaIndex,
+ Vector2ArenaIndex,
+ Vector3ArenaIndex,
+ Vector4ArenaIndex,
+ InlineVectorArenaIndex,
+ HashTableArenaIndex,
FOR_EACH_TYPED_HEAP(TypedHeapEnumName)
- LargeObjectHeapIndex,
+ LargeObjectArenaIndex,
// Values used for iteration of heap segments.
- NumberOfHeaps,
+ NumberOfArenas,
};
#if defined(ADDRESS_SANITIZER)

Powered by Google App Engine
This is Rietveld 408576698