Reviewers: Erik Corry,

Description:
Changed the PageIterator class so that it only returns pages existing
at construction time.  If allocation during iteration causes a paged
space to expand, the iterator will not return the new pages.

This makes it more closely match the HeapObjectIterator behavior, and
it removes a possible source of bugs (if the allocation top is in the
last page in the space, the iterator will stop only when it reaches
the end of the space, potentially returning invalid pages from a
freshly expanded space).


Please review this at http://codereview.chromium.org/115074

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
   M     src/spaces-inl.h
   M     src/spaces.h
   M     src/spaces.cc



--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to