| 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 #include "src/cancelable-task.h" | 8 #include "src/cancelable-task.h" |
| 9 #include "src/execution.h" | 9 #include "src/execution.h" |
| 10 #include "src/heap/incremental-marking-job.h" | 10 #include "src/heap/incremental-marking-job.h" |
| (...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 int64_t SpaceLeftInOldSpace(); | 233 int64_t SpaceLeftInOldSpace(); |
| 234 | 234 |
| 235 void SpeedUp(); | 235 void SpeedUp(); |
| 236 | 236 |
| 237 void ResetStepCounters(); | 237 void ResetStepCounters(); |
| 238 | 238 |
| 239 void StartMarking(); | 239 void StartMarking(); |
| 240 | 240 |
| 241 void MarkRoots(); | 241 void MarkRoots(); |
| 242 void MarkObjectGroups(); | 242 void MarkObjectGroups(); |
| 243 void ProcessWeakCells(); | |
| 244 | 243 |
| 245 void ActivateIncrementalWriteBarrier(PagedSpace* space); | 244 void ActivateIncrementalWriteBarrier(PagedSpace* space); |
| 246 static void ActivateIncrementalWriteBarrier(NewSpace* space); | 245 static void ActivateIncrementalWriteBarrier(NewSpace* space); |
| 247 void ActivateIncrementalWriteBarrier(); | 246 void ActivateIncrementalWriteBarrier(); |
| 248 | 247 |
| 249 static void DeactivateIncrementalWriteBarrierForSpace(PagedSpace* space); | 248 static void DeactivateIncrementalWriteBarrierForSpace(PagedSpace* space); |
| 250 static void DeactivateIncrementalWriteBarrierForSpace(NewSpace* space); | 249 static void DeactivateIncrementalWriteBarrierForSpace(NewSpace* space); |
| 251 void DeactivateIncrementalWriteBarrier(); | 250 void DeactivateIncrementalWriteBarrier(); |
| 252 | 251 |
| 253 static void SetOldSpacePageFlags(MemoryChunk* chunk, bool is_marking, | 252 static void SetOldSpacePageFlags(MemoryChunk* chunk, bool is_marking, |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 294 GCRequestType request_type_; | 293 GCRequestType request_type_; |
| 295 | 294 |
| 296 IncrementalMarkingJob incremental_marking_job_; | 295 IncrementalMarkingJob incremental_marking_job_; |
| 297 | 296 |
| 298 DISALLOW_IMPLICIT_CONSTRUCTORS(IncrementalMarking); | 297 DISALLOW_IMPLICIT_CONSTRUCTORS(IncrementalMarking); |
| 299 }; | 298 }; |
| 300 } // namespace internal | 299 } // namespace internal |
| 301 } // namespace v8 | 300 } // namespace v8 |
| 302 | 301 |
| 303 #endif // V8_HEAP_INCREMENTAL_MARKING_H_ | 302 #endif // V8_HEAP_INCREMENTAL_MARKING_H_ |
| OLD | NEW |