OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project 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 V8_HEAP_INCREMENTAL_MARKING_H_ | 5 #ifndef V8_HEAP_INCREMENTAL_MARKING_H_ |
6 #define V8_HEAP_INCREMENTAL_MARKING_H_ | 6 #define V8_HEAP_INCREMENTAL_MARKING_H_ |
7 | 7 |
8 | 8 |
9 #include "src/execution.h" | 9 #include "src/execution.h" |
10 #include "src/heap/mark-compact.h" | 10 #include "src/heap/mark-compact.h" |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 bool ShouldActivate(); | 60 bool ShouldActivate(); |
61 | 61 |
62 bool WasActivated(); | 62 bool WasActivated(); |
63 | 63 |
64 enum CompactionFlag { ALLOW_COMPACTION, PREVENT_COMPACTION }; | 64 enum CompactionFlag { ALLOW_COMPACTION, PREVENT_COMPACTION }; |
65 | 65 |
66 void Start(CompactionFlag flag = ALLOW_COMPACTION); | 66 void Start(CompactionFlag flag = ALLOW_COMPACTION); |
67 | 67 |
68 void Stop(); | 68 void Stop(); |
69 | 69 |
| 70 void MarkObjectGroups(); |
| 71 |
70 void PrepareForScavenge(); | 72 void PrepareForScavenge(); |
71 | 73 |
72 void UpdateMarkingDequeAfterScavenge(); | 74 void UpdateMarkingDequeAfterScavenge(); |
73 | 75 |
74 void Hurry(); | 76 void Hurry(); |
75 | 77 |
76 void Finalize(); | 78 void Finalize(); |
77 | 79 |
78 void Abort(); | 80 void Abort(); |
79 | 81 |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 bool weak_closure_was_overapproximated_; | 246 bool weak_closure_was_overapproximated_; |
245 | 247 |
246 GCRequestType request_type_; | 248 GCRequestType request_type_; |
247 | 249 |
248 DISALLOW_IMPLICIT_CONSTRUCTORS(IncrementalMarking); | 250 DISALLOW_IMPLICIT_CONSTRUCTORS(IncrementalMarking); |
249 }; | 251 }; |
250 } | 252 } |
251 } // namespace v8::internal | 253 } // namespace v8::internal |
252 | 254 |
253 #endif // V8_HEAP_INCREMENTAL_MARKING_H_ | 255 #endif // V8_HEAP_INCREMENTAL_MARKING_H_ |
OLD | NEW |