| Index: src/heap/heap.h
|
| diff --git a/src/heap/heap.h b/src/heap/heap.h
|
| index 6fb429ae7d6e6280e13ac750bcf1da95eddd33b9..4c9e3ad1448032db23eacdb3d8b8da6f7b0faad8 100644
|
| --- a/src/heap/heap.h
|
| +++ b/src/heap/heap.h
|
| @@ -837,6 +837,21 @@ class Heap {
|
| // incremental steps.
|
| void StartIdleIncrementalMarking();
|
|
|
| + // Starts incremental marking assuming incremental marking is currently
|
| + // stopped.
|
| + void StartIncrementalMarking(int gc_flags,
|
| + const GCCallbackFlags gc_callback_flags,
|
| + const char* reason = nullptr);
|
| +
|
| + // Performs incremental marking steps of step_size_in_bytes as long as
|
| + // deadline_ins_ms is not reached. step_size_in_bytes can be 0 to compute
|
| + // an estimate increment. Returns the remaining time that cannot be used
|
| + // for incremental marking anymore because a single step would exceed the
|
| + // deadline.
|
| + 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) {
|
| @@ -2267,6 +2282,8 @@ class Heap {
|
|
|
| bool HasLowYoungGenerationAllocationRate();
|
| bool HasLowOldGenerationAllocationRate();
|
| + double YoungGenerationMutatorUtilization();
|
| + double OldGenerationMutatorUtilization();
|
|
|
| void ReduceNewSpaceSize();
|
|
|
|
|