Chromium Code Reviews| Index: src/heap/heap.cc |
| diff --git a/src/heap/heap.cc b/src/heap/heap.cc |
| index f830b4dd1bcfaf26a5a743a250f9bdef2ed3c522..d096c41c8151f2f7710b5ebf8cfeac8d2bb6696f 100644 |
| --- a/src/heap/heap.cc |
| +++ b/src/heap/heap.cc |
| @@ -1613,6 +1613,8 @@ void Heap::Scavenge() { |
| // Pause the inline allocation steps. |
| PauseAllocationObserversScope pause_observers(this); |
| + mark_compact_collector()->sweeper().EnsureNewSpaceCompleted(); |
|
Michael Lippautz
2016/06/09 09:21:22
This one requires IsSweepingCompleted() to be corr
|
| + |
| #ifdef VERIFY_HEAP |
| if (FLAG_verify_heap) VerifyNonPointerSpacePointers(this); |
| #endif |