Chromium Code Reviews| Index: src/heap/heap.h |
| diff --git a/src/heap/heap.h b/src/heap/heap.h |
| index 750827968dcd757edff47ece2ed0948930aa688f..90fc2081f2f8dc8857f696273e44577813de9c71 100644 |
| --- a/src/heap/heap.h |
| +++ b/src/heap/heap.h |
| @@ -852,6 +852,14 @@ class Heap { |
| // incremental steps. |
| void StartIdleIncrementalMarking(); |
| + void StartIncrementalMarking(int gc_flags, |
|
Hannes Payer (out of office)
2015/08/04 15:05:59
Add comments to these functions.
Michael Lippautz
2015/08/04 15:53:06
Done.
|
| + const GCCallbackFlags gc_callback_flags, |
| + const char* reason = nullptr); |
| + |
| + double AdvanceIncrementalMarking( |
| + intptr_t step_size_in_bytes, double deadline_in_ms, |
| + IncrementalMarking::StepActions step_actions); |
| + |
| inline void increment_scan_on_scavenge_pages() { |
| scan_on_scavenge_pages_++; |
| if (FLAG_gc_verbose) { |
| @@ -2232,10 +2240,6 @@ class Heap { |
| GCIdleTimeHandler::HeapState ComputeHeapState(); |
| - double AdvanceIncrementalMarking( |
| - intptr_t step_size_in_bytes, double deadline_in_ms, |
| - IncrementalMarking::ForceCompletionAction completion); |
| - |
| bool PerformIdleTimeAction(GCIdleTimeAction action, |
| GCIdleTimeHandler::HeapState heap_state, |
| double deadline_in_ms); |