Reviewers: Mads Ager,

Description:
Fix bugs introduced by r4475:
- RelinkPageListInChunkOrder might relink unused pages into the middle of a
sequence of used pages. Filler objects should be placed at the beginning of such
unused pages otherwise generic iterators (e.g. HeapObjectIterator) would not
handle them correctly.
- ObjectAreaEnd() should not be used as an allocation limit for pages from
FixedSpace. Pages in such spaces do not use top page_extra_ bytes of object
area.

[email protected]

Please review this at http://codereview.chromium.org/1700005/show

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

Affected files:
  M     src/mark-compact.cc
  M     src/spaces.h
  M     src/spaces.cc
  M     test/cctest/test-heap.cc


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

Reply via email to