| Index: src/heap/incremental-marking.cc
|
| diff --git a/src/heap/incremental-marking.cc b/src/heap/incremental-marking.cc
|
| index 0ac8e56860a7167f97463bb353efdb137212e3e0..76c05de6065be5da1c51e8a7f7f8894f1eed82fb 100644
|
| --- a/src/heap/incremental-marking.cc
|
| +++ b/src/heap/incremental-marking.cc
|
| @@ -935,7 +935,7 @@ intptr_t IncrementalMarking::Step(intptr_t allocated_bytes,
|
| if (state_ == SWEEPING) {
|
| if (heap_->mark_compact_collector()->sweeping_in_progress() &&
|
| (heap_->mark_compact_collector()->IsSweepingCompleted() ||
|
| - !FLAG_concurrent_sweeping)) {
|
| + !heap_->concurrent_sweeping_enabled())) {
|
| heap_->mark_compact_collector()->EnsureSweepingCompleted();
|
| }
|
| if (!heap_->mark_compact_collector()->sweeping_in_progress()) {
|
|
|