Commit 1435d0d7 authored by hpayer@chromium.org's avatar hpayer@chromium.org

We can iterate a scan on scavange page if it was precisely swept or just added...

We can iterate a scan on scavange page if it was precisely swept or just added to the old generation.

BUG=
R=bmeurer@chromium.org

Review URL: https://codereview.chromium.org/374073002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22279 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 2cf9fc19
......@@ -524,7 +524,7 @@ void StoreBuffer::IteratePointersToNewSpace(ObjectSlotCallback slot_callback,
Page* page = reinterpret_cast<Page*>(chunk);
ASSERT(page->owner() == heap_->map_space() ||
page->owner() == heap_->old_pointer_space());
CHECK(page->WasSweptPrecisely());
CHECK(!page->WasSweptConservatively());
HeapObjectIterator iterator(page, NULL);
for (HeapObject* heap_object = iterator.Next();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment