Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(241)

Unified Diff: src/heap/heap.cc

Issue 1252333002: Don't try to get the mark bits of the one ptr filler object (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updates Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/heap.cc
diff --git a/src/heap/heap.cc b/src/heap/heap.cc
index 073bffcf897ea39ee19f19651f7382920f1def04..0740e02a66ee13332399b3ff6849183f8e8428f2 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->IsFiller()) return true;
MarkBit mark_bit = Marking::MarkBitFrom(object);
return Marking::IsWhite(mark_bit);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698