| Index: src/heap.cc
|
| diff --git a/src/heap.cc b/src/heap.cc
|
| index 0eb77b4fe2b0d833495e77d86a93b4d66de99528..e383112c49402f1f486059e95d772101126efbeb 100644
|
| --- a/src/heap.cc
|
| +++ b/src/heap.cc
|
| @@ -501,7 +501,7 @@ bool Heap::CollectGarbage(AllocationSpace space, GarbageCollector collector) {
|
| }
|
|
|
| ASSERT(IncrementalMarking::state() == IncrementalMarking::STOPPED);
|
| - if (NextGCIsLikelyToBeFull() && FLAG_incremental_marking) {
|
| + if (IncrementalMarking::WorthActivating() && NextGCIsLikelyToBeFull()) {
|
| IncrementalMarking::Start();
|
| }
|
|
|
|
|