Reviewers: Hannes Payer, Michael Lippautz,

Description:
Don't try to get the mark bits of the one ptr filler object

BUG=chromium:???
LOG=n
[email protected],[email protected]

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

Base URL: https://chromium.googlesource.com/v8/v8.git@master

Affected files (+1, -0 lines):
  M src/heap/heap.cc


Index: src/heap/heap.cc
diff --git a/src/heap/heap.cc b/src/heap/heap.cc
index 073bffcf897ea39ee19f19651f7382920f1def04..3bfc2a50f562d1fc67d5b18be933f3d587b5a594 100644
--- a/src/heap/heap.cc
+++ b/src/heap/heap.cc
@@ -6211,6 +6211,7 @@ class UnreachableObjectsFilter : public HeapObjectsFilter {
   }

   bool SkipObject(HeapObject* object) {
+    if (object->map() == heap_->one_pointer_filler_map()) return true;
     MarkBit mark_bit = Marking::MarkBitFrom(object);
     return Marking::IsWhite(mark_bit);
   }


--
--
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