Revision: 9467 Author: [email protected] Date: Wed Sep 28 05:55:34 2011 Log: Adjust assertion in Heap::IdleNotification.
[email protected] BUG=v8:1715 Review URL: http://codereview.chromium.org/8038045 http://code.google.com/p/v8/source/detail?r=9467 Modified: /branches/bleeding_edge/src/heap.cc ======================================= --- /branches/bleeding_edge/src/heap.cc Wed Sep 28 05:23:40 2011 +++ /branches/bleeding_edge/src/heap.cc Wed Sep 28 05:55:34 2011 @@ -4594,8 +4594,11 @@ // 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; } -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
