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/heap.h" | 10 #include "src/heap/heap.h" |
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
283 bool is_compacting); | 283 bool is_compacting); |
284 | 284 |
285 static void SetNewSpacePageFlags(MemoryChunk* chunk, bool is_marking); | 285 static void SetNewSpacePageFlags(MemoryChunk* chunk, bool is_marking); |
286 | 286 |
287 INLINE(void ProcessMarkingDeque()); | 287 INLINE(void ProcessMarkingDeque()); |
288 | 288 |
289 INLINE(intptr_t ProcessMarkingDeque( | 289 INLINE(intptr_t ProcessMarkingDeque( |
290 intptr_t bytes_to_process, | 290 intptr_t bytes_to_process, |
291 ForceCompletionAction completion = DO_NOT_FORCE_COMPLETION)); | 291 ForceCompletionAction completion = DO_NOT_FORCE_COMPLETION)); |
292 | 292 |
| 293 INLINE(bool IsFixedArrayWithProgressBar(HeapObject* object)); |
293 INLINE(void VisitObject(Map* map, HeapObject* obj, int size)); | 294 INLINE(void VisitObject(Map* map, HeapObject* obj, int size)); |
294 | 295 |
295 void IncrementIdleMarkingDelayCounter(); | 296 void IncrementIdleMarkingDelayCounter(); |
296 | 297 |
297 void AdvanceIncrementalMarkingOnAllocation(); | 298 void AdvanceIncrementalMarkingOnAllocation(); |
298 | 299 |
299 size_t StepSizeToKeepUpWithAllocations(); | 300 size_t StepSizeToKeepUpWithAllocations(); |
300 size_t StepSizeToMakeProgress(); | 301 size_t StepSizeToMakeProgress(); |
301 | 302 |
302 Heap* heap_; | 303 Heap* heap_; |
(...skipping 23 matching lines...) Expand all Loading... |
326 | 327 |
327 Observer new_generation_observer_; | 328 Observer new_generation_observer_; |
328 Observer old_generation_observer_; | 329 Observer old_generation_observer_; |
329 | 330 |
330 DISALLOW_IMPLICIT_CONSTRUCTORS(IncrementalMarking); | 331 DISALLOW_IMPLICIT_CONSTRUCTORS(IncrementalMarking); |
331 }; | 332 }; |
332 } // namespace internal | 333 } // namespace internal |
333 } // namespace v8 | 334 } // namespace v8 |
334 | 335 |
335 #endif // V8_HEAP_INCREMENTAL_MARKING_H_ | 336 #endif // V8_HEAP_INCREMENTAL_MARKING_H_ |
OLD | NEW |