| Index: src/heap/incremental-marking.cc
|
| diff --git a/src/heap/incremental-marking.cc b/src/heap/incremental-marking.cc
|
| index 3e5e6c0697cd505bf49880d407891ef8f938458a..c9be1615b065d32f7467dc203b3b954e0c3c50ca 100644
|
| --- a/src/heap/incremental-marking.cc
|
| +++ b/src/heap/incremental-marking.cc
|
| @@ -569,7 +569,7 @@ void IncrementalMarking::Start(const char* reason) {
|
| state_ = SWEEPING;
|
| }
|
|
|
| - heap_->LowerInlineAllocationLimit(kAllocatedThreshold);
|
| + heap_->SetIncrementalMarkingStep(kAllocatedThreshold);
|
| incremental_marking_job()->Start(heap_);
|
| }
|
|
|
| @@ -821,7 +821,7 @@ void IncrementalMarking::Stop() {
|
| if (FLAG_trace_incremental_marking) {
|
| PrintF("[IncrementalMarking] Stopping.\n");
|
| }
|
| - heap_->ResetInlineAllocationLimit();
|
| + heap_->SetIncrementalMarkingStep(0);
|
| IncrementalMarking::set_should_hurry(false);
|
| ResetStepCounters();
|
| if (IsMarking()) {
|
| @@ -849,7 +849,7 @@ void IncrementalMarking::Finalize() {
|
| Hurry();
|
| state_ = STOPPED;
|
| is_compacting_ = false;
|
| - heap_->ResetInlineAllocationLimit();
|
| + heap_->SetIncrementalMarkingStep(0);
|
| IncrementalMarking::set_should_hurry(false);
|
| ResetStepCounters();
|
| PatchIncrementalMarkingRecordWriteStubs(heap_,
|
|
|