| Index: src/heap/mark-compact.cc
|
| diff --git a/src/heap/mark-compact.cc b/src/heap/mark-compact.cc
|
| index c5e490643de32ce94526734fe58401cd66fd8984..08472e5b10448949ef761f91de3fbdaedeead34b 100644
|
| --- a/src/heap/mark-compact.cc
|
| +++ b/src/heap/mark-compact.cc
|
| @@ -567,6 +567,7 @@ void MarkCompactCollector::EnsureSweepingCompleted() {
|
| }
|
|
|
| bool MarkCompactCollector::Sweeper::IsSweepingCompleted() {
|
| + DCHECK(FLAG_concurrent_sweeping);
|
| while (pending_sweeper_tasks_semaphore_.WaitFor(
|
| base::TimeDelta::FromSeconds(0))) {
|
| num_sweeping_tasks_.Increment(-1);
|
|
|