| 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 bool ShouldActivateEvenWithoutIdleNotification(); | 66 bool ShouldActivateEvenWithoutIdleNotification(); |
| 67 | 67 |
| 68 bool WasActivated(); | 68 bool WasActivated(); |
| 69 | 69 |
| 70 void Start(int mark_compact_flags); | 70 void Start(int mark_compact_flags); |
| 71 | 71 |
| 72 void Stop(); | 72 void Stop(); |
| 73 | 73 |
| 74 void MarkObjectGroups(); | 74 void MarkObjectGroups(); |
| 75 | 75 |
| 76 void PrepareForScavenge(); | |
| 77 | |
| 78 void UpdateMarkingDequeAfterScavenge(); | 76 void UpdateMarkingDequeAfterScavenge(); |
| 79 | 77 |
| 80 void Hurry(); | 78 void Hurry(); |
| 81 | 79 |
| 82 void Finalize(); | 80 void Finalize(); |
| 83 | 81 |
| 84 void Abort(); | 82 void Abort(); |
| 85 | 83 |
| 86 void OverApproximateWeakClosure(CompletionAction action); | 84 void OverApproximateWeakClosure(CompletionAction action); |
| 87 | 85 |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 244 int weak_closure_approximation_rounds_; | 242 int weak_closure_approximation_rounds_; |
| 245 | 243 |
| 246 GCRequestType request_type_; | 244 GCRequestType request_type_; |
| 247 | 245 |
| 248 DISALLOW_IMPLICIT_CONSTRUCTORS(IncrementalMarking); | 246 DISALLOW_IMPLICIT_CONSTRUCTORS(IncrementalMarking); |
| 249 }; | 247 }; |
| 250 } | 248 } |
| 251 } // namespace v8::internal | 249 } // namespace v8::internal |
| 252 | 250 |
| 253 #endif // V8_HEAP_INCREMENTAL_MARKING_H_ | 251 #endif // V8_HEAP_INCREMENTAL_MARKING_H_ |
| OLD | NEW |