| Index: src/heap.cc
|
| diff --git a/src/heap.cc b/src/heap.cc
|
| index 580a764d334462a5b930aff5cea827151c77d508..15040a37831a9f0f53718d682880fe1a91a26504 100644
|
| --- a/src/heap.cc
|
| +++ b/src/heap.cc
|
| @@ -4597,8 +4597,11 @@ bool Heap::IdleNotification() {
|
|
|
| // Make sure that we have no pending context disposals and
|
| // conditionally uncommit from space.
|
| - ASSERT((contexts_disposed_ == 0) || incremental_marking()->IsMarking());
|
| + // Take into account that we might have decided to delay full collection
|
| + // because incremental marking is in progress.
|
| + ASSERT((contexts_disposed_ == 0) || !incremental_marking()->IsStopped());
|
| if (uncommit) UncommitFromSpace();
|
| +
|
| return finished;
|
| }
|
|
|
|
|