Reviewers: Benedikt Meurer,

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

BUG=

Please review this at https://codereview.chromium.org/374073002/

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

Affected files (+1, -1 lines):
  M src/store-buffer.cc


Index: src/store-buffer.cc
diff --git a/src/store-buffer.cc b/src/store-buffer.cc
index 0e4fd6429bce7b7a103b907b9eebcfd712b1bf96..a9e135647f689aecfbd9350d6b2afe5d592ee8b5 100644
--- a/src/store-buffer.cc
+++ b/src/store-buffer.cc
@@ -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();


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to