| Index: src/heap/heap.cc
|
| diff --git a/src/heap/heap.cc b/src/heap/heap.cc
|
| index 5c2d5786099bff15cd894eea21f08693bd4dc0cf..1c6d9f62abd2b0466467ff538367aac48a7e2aa6 100644
|
| --- a/src/heap/heap.cc
|
| +++ b/src/heap/heap.cc
|
| @@ -983,10 +983,6 @@ bool Heap::CollectGarbage(GarbageCollector collector, const char* gc_reason,
|
| !ShouldAbortIncrementalMarking() && !incremental_marking()->IsStopped() &&
|
| !incremental_marking()->should_hurry() && FLAG_incremental_marking &&
|
| OldGenerationAllocationLimitReached()) {
|
| - // Make progress in incremental marking.
|
| - const intptr_t kStepSizeWhenDelayedByScavenge = 1 * MB;
|
| - incremental_marking()->Step(kStepSizeWhenDelayedByScavenge,
|
| - IncrementalMarking::NO_GC_VIA_STACK_GUARD);
|
| if (!incremental_marking()->IsComplete() &&
|
| !mark_compact_collector()->marking_deque_.IsEmpty() &&
|
| !FLAG_gc_global) {
|
|
|