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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 enum V8GCType { | 100 enum V8GCType { |
101 V8MinorGC, | 101 V8MinorGC, |
102 V8MajorGC, | 102 V8MajorGC, |
103 }; | 103 }; |
| 104 |
| 105 enum ThreadHeapMode { |
| 106 MainThreadHeapMode, |
| 107 PerThreadHeapMode, |
| 108 }; |
104 }; | 109 }; |
105 | 110 |
106 } // namespace blink | 111 } // namespace blink |
107 | 112 |
108 #endif | 113 #endif |
OLD | NEW |