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

Unified Diff: src/spaces.cc

Issue 8342037: Switch UnreachableObjectsFilter to use Marking instead of InstrusiveMarking. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 2 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
« src/mark-compact.cc ('K') | « src/runtime.cc ('k') | src/spaces-inl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/spaces.cc
diff --git a/src/spaces.cc b/src/spaces.cc
index 2b933694b6a2c6f63f850b8cd0f019ec59e55708..f8de7e3d40dfb9f993317a064d2c53916aaa3d23 100644
--- a/src/spaces.cc
+++ b/src/spaces.cc
@@ -839,7 +839,10 @@ void PagedSpace::Verify(ObjectVisitor* visitor) {
ASSERT(object->address() + size <= top);
end_of_previous_object = object->address() + size;
}
- ASSERT_LE(black_size, page->LiveBytes());
+
+ if (!heap()->mark_compact_collector()->AreMarkbitsTainted()) {
+ ASSERT_LE(black_size, page->LiveBytes());
+ }
}
ASSERT(allocation_pointer_found_in_space);
}
« src/mark-compact.cc ('K') | « src/runtime.cc ('k') | src/spaces-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698