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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 HashTableArenaIndex, | 98 HashTableArenaIndex, |
99 FOR_EACH_TYPED_ARENA(TypedArenaEnumName) LargeObjectArenaIndex, | 99 FOR_EACH_TYPED_ARENA(TypedArenaEnumName) LargeObjectArenaIndex, |
100 // Values used for iteration of heap segments. | 100 // Values used for iteration of heap segments. |
101 NumberOfArenas, | 101 NumberOfArenas, |
102 }; | 102 }; |
103 | 103 |
104 enum V8GCType { | 104 enum V8GCType { |
105 V8MinorGC, | 105 V8MinorGC, |
106 V8MajorGC, | 106 V8MajorGC, |
107 }; | 107 }; |
108 | |
109 enum ThreadHeapMode { | |
110 MainThreadHeapMode, | |
111 PerThreadHeapMode, | |
112 }; | |
113 }; | 108 }; |
114 | 109 |
115 } // namespace blink | 110 } // namespace blink |
116 | 111 |
117 #endif | 112 #endif |
OLD | NEW |