Index: src/heap/heap.cc |
diff --git a/src/heap/heap.cc b/src/heap/heap.cc |
index 5ba199a3c106aea8c0414d334637fefa52515338..7efdff037836f573986838273537365bbf8c1ba1 100644 |
--- a/src/heap/heap.cc |
+++ b/src/heap/heap.cc |
@@ -990,24 +990,6 @@ bool Heap::CollectGarbage(GarbageCollector collector, |
} |
} |
- if (collector == MARK_COMPACTOR && FLAG_incremental_marking && |
- !ShouldFinalizeIncrementalMarking() && !ShouldAbortIncrementalMarking() && |
- !incremental_marking()->IsStopped() && |
- !incremental_marking()->should_hurry() && |
- !incremental_marking()->NeedsFinalization() && |
- !IsCloseToOutOfMemory(new_space_->Capacity())) { |
- if (!incremental_marking()->IsComplete() && |
- !mark_compact_collector()->marking_deque()->IsEmpty() && |
- !FLAG_gc_global) { |
- if (FLAG_trace_incremental_marking) { |
- isolate()->PrintWithTimestamp( |
- "[IncrementalMarking] Delaying MarkSweep.\n"); |
- } |
- collector = YoungGenerationCollector(); |
- collector_reason = "incremental marking delaying mark-sweep"; |
- } |
- } |
- |
bool next_gc_likely_to_collect_more = false; |
size_t committed_memory_before = 0; |