| Index: src/incremental-marking.cc
|
| diff --git a/src/incremental-marking.cc b/src/incremental-marking.cc
|
| index c533ce388fb1341456f2840e699fd6a1d6c6661c..dd1c77dd645f950de3b29e10be3f3efad4bc404d 100644
|
| --- a/src/incremental-marking.cc
|
| +++ b/src/incremental-marking.cc
|
| @@ -909,7 +909,7 @@ void IncrementalMarking::Step(intptr_t allocated_bytes,
|
| }
|
|
|
| if (state_ == SWEEPING) {
|
| - if (heap_->EnsureSweepersProgressed(static_cast<int>(bytes_to_process))) {
|
| + if (!heap_->mark_compact_collector()->IsConcurrentSweepingInProgress()) {
|
| bytes_scanned_ = 0;
|
| StartMarking(PREVENT_COMPACTION);
|
| }
|
|
|