| Index: src/heap.cc
|
| diff --git a/src/heap.cc b/src/heap.cc
|
| index 303561d4816a029a24fa4df8b15c1d87b72d64aa..6d4651c43e4c68683a87a0539aed84ce2d574c89 100644
|
| --- a/src/heap.cc
|
| +++ b/src/heap.cc
|
| @@ -482,7 +482,7 @@ bool Heap::CollectGarbage(AllocationSpace space, GarbageCollector collector) {
|
|
|
| if (collector == MARK_COMPACTOR &&
|
| !mark_compact_collector()->PreciseSweepingRequired() &&
|
| - incremental_marking()->IsMarkingIncomplete() &&
|
| + !incremental_marking()->IsStopped() &&
|
| !incremental_marking()->should_hurry() &&
|
| FLAG_incremental_marking_steps) {
|
| if (FLAG_trace_incremental_marking) {
|
|
|