Index: src/incremental-marking.cc |
diff --git a/src/incremental-marking.cc b/src/incremental-marking.cc |
index bbe0c51a58b5a392489261c13ca57497592c8b6f..b8dab3272a5913e1f1dfd77d648905a162202f2d 100644 |
--- a/src/incremental-marking.cc |
+++ b/src/incremental-marking.cc |
@@ -565,7 +565,7 @@ void IncrementalMarking::Start(CompactionFlag flag) { |
ResetStepCounters(); |
- if (heap_->IsSweepingComplete()) { |
+ if (!heap_->mark_compact_collector()->IsConcurrentSweepingInProgress()) { |
StartMarking(flag); |
} else { |
if (FLAG_trace_incremental_marking) { |