| Index: src/heap/incremental-marking.cc
|
| diff --git a/src/heap/incremental-marking.cc b/src/heap/incremental-marking.cc
|
| index 9df46693f7a5e1d8cf49f1565d08663d1ae616f6..838f9d0b6bf29c599fea927dda50c28c07ab295b 100644
|
| --- a/src/heap/incremental-marking.cc
|
| +++ b/src/heap/incremental-marking.cc
|
| @@ -1176,7 +1176,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() ||
|
| - !heap_->concurrent_sweeping_enabled())) {
|
| + !FLAG_concurrent_sweeping)) {
|
| heap_->mark_compact_collector()->EnsureSweepingCompleted();
|
| }
|
| if (!heap_->mark_compact_collector()->sweeping_in_progress()) {
|
|
|