OLD | NEW |
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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 Vector3ArenaIndex, | 90 Vector3ArenaIndex, |
91 Vector4ArenaIndex, | 91 Vector4ArenaIndex, |
92 InlineVectorArenaIndex, | 92 InlineVectorArenaIndex, |
93 HashTableArenaIndex, | 93 HashTableArenaIndex, |
94 FOR_EACH_TYPED_ARENA(TypedArenaEnumName) | 94 FOR_EACH_TYPED_ARENA(TypedArenaEnumName) |
95 LargeObjectArenaIndex, | 95 LargeObjectArenaIndex, |
96 // Values used for iteration of heap segments. | 96 // Values used for iteration of heap segments. |
97 NumberOfArenas, | 97 NumberOfArenas, |
98 }; | 98 }; |
99 | 99 |
100 #if defined(ADDRESS_SANITIZER) | |
101 // Heaps can have their object payloads be poisoned, or cleared | |
102 // of their poisoning. | |
103 enum Poisoning { | |
104 SetPoison, | |
105 ClearPoison, | |
106 }; | |
107 | |
108 enum ObjectsToPoison { | |
109 UnmarkedOnly, | |
110 MarkedAndUnmarked, | |
111 }; | |
112 #endif | |
113 | |
114 enum V8GCType { | 100 enum V8GCType { |
115 V8MinorGC, | 101 V8MinorGC, |
116 V8MajorGC, | 102 V8MajorGC, |
117 }; | 103 }; |
118 }; | 104 }; |
119 | 105 |
120 } // namespace blink | 106 } // namespace blink |
121 | 107 |
122 #endif | 108 #endif |
OLD | NEW |