| Index: src/heap/spaces.cc
|
| diff --git a/src/heap/spaces.cc b/src/heap/spaces.cc
|
| index 9be53e03f284018c8b8cafa6462f82712992fba4..e9a9842b9a27a418957f1ac20915c344fc815412 100644
|
| --- a/src/heap/spaces.cc
|
| +++ b/src/heap/spaces.cc
|
| @@ -2735,6 +2735,9 @@ void PagedSpace::ReportStatistics() {
|
| Capacity(), Waste(), Available(), pct);
|
|
|
| if (!swept_precisely_) return;
|
| + if (heap()->mark_compact_collector()->sweeping_in_progress()) {
|
| + heap()->mark_compact_collector()->EnsureSweepingCompleted();
|
| + }
|
| ClearHistograms(heap()->isolate());
|
| HeapObjectIterator obj_it(this);
|
| for (HeapObject* obj = obj_it.Next(); obj != NULL; obj = obj_it.Next())
|
|
|