| Index: src/heap/mark-compact.cc
|
| diff --git a/src/heap/mark-compact.cc b/src/heap/mark-compact.cc
|
| index 05ddf527152d90fa36a0a5c79a73822a6611cb82..400e1e49d66b61f6933efc356fa081df074220e6 100644
|
| --- a/src/heap/mark-compact.cc
|
| +++ b/src/heap/mark-compact.cc
|
| @@ -776,10 +776,8 @@ void MarkCompactCollector::Prepare() {
|
|
|
| DCHECK(!FLAG_never_compact || !FLAG_always_compact);
|
|
|
| - if (sweeping_in_progress()) {
|
| - // Instead of waiting we could also abort the sweeper threads here.
|
| - EnsureSweepingCompleted();
|
| - }
|
| + // Instead of waiting we could also abort the sweeper threads here.
|
| + EnsureSweepingCompleted();
|
|
|
| if (heap()->incremental_marking()->IsSweeping()) {
|
| heap()->incremental_marking()->Stop();
|
|
|