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

Side by Side Diff: third_party/WebKit/Source/platform/heap/BlinkGC.h

Issue 2682933003: Remove a thread-local termination GC (Closed)
Patch Set: temp Created 3 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef BlinkGC_h 5 #ifndef BlinkGC_h
6 #define BlinkGC_h 6 #define BlinkGC_h
7 7
8 // BlinkGC.h is a file that defines common things used by Blink GC. 8 // BlinkGC.h is a file that defines common things used by Blink GC.
9 9
10 #include "platform/PlatformExport.h" 10 #include "platform/PlatformExport.h"
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 TakeSnapshot, 74 TakeSnapshot,
75 }; 75 };
76 76
77 enum GCReason { 77 enum GCReason {
78 IdleGC, 78 IdleGC,
79 PreciseGC, 79 PreciseGC,
80 ConservativeGC, 80 ConservativeGC,
81 ForcedGC, 81 ForcedGC,
82 MemoryPressureGC, 82 MemoryPressureGC,
83 PageNavigationGC, 83 PageNavigationGC,
84 ThreadTerminationGC,
84 NumberOfGCReason, 85 NumberOfGCReason,
85 }; 86 };
86 87
87 enum ArenaIndices { 88 enum ArenaIndices {
88 EagerSweepArenaIndex = 0, 89 EagerSweepArenaIndex = 0,
89 NormalPage1ArenaIndex, 90 NormalPage1ArenaIndex,
90 NormalPage2ArenaIndex, 91 NormalPage2ArenaIndex,
91 NormalPage3ArenaIndex, 92 NormalPage3ArenaIndex,
92 NormalPage4ArenaIndex, 93 NormalPage4ArenaIndex,
93 Vector1ArenaIndex, 94 Vector1ArenaIndex,
94 Vector2ArenaIndex, 95 Vector2ArenaIndex,
95 Vector3ArenaIndex, 96 Vector3ArenaIndex,
96 Vector4ArenaIndex, 97 Vector4ArenaIndex,
97 InlineVectorArenaIndex, 98 InlineVectorArenaIndex,
98 HashTableArenaIndex, 99 HashTableArenaIndex,
99 FOR_EACH_TYPED_ARENA(TypedArenaEnumName) LargeObjectArenaIndex, 100 FOR_EACH_TYPED_ARENA(TypedArenaEnumName) LargeObjectArenaIndex,
100 // Values used for iteration of heap segments. 101 // Values used for iteration of heap segments.
101 NumberOfArenas, 102 NumberOfArenas,
102 }; 103 };
103 104
104 enum V8GCType { 105 enum V8GCType {
105 V8MinorGC, 106 V8MinorGC,
106 V8MajorGC, 107 V8MajorGC,
107 }; 108 };
108 }; 109 };
109 110
110 } // namespace blink 111 } // namespace blink
111 112
112 #endif 113 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698