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

Unified Diff: src/incremental-marking.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
Index: src/incremental-marking.cc
diff --git a/src/incremental-marking.cc b/src/incremental-marking.cc
index d0d3354b800e3eb5f228f7bde7a941bddef6ad9f..c17c8b6bafa59902406fc1c9ccbb083a6c791511 100644
--- a/src/incremental-marking.cc
+++ b/src/incremental-marking.cc
@@ -469,6 +469,8 @@ void IncrementalMarking::StartMarking(CompactionFlag flag) {
ActivateIncrementalWriteBarrier();
+ heap_->mark_compact_collector()->ClearMarkbits();
Erik Corry 2011/10/19 17:56:07 I don't understand why this is now needed in the i
+
#ifdef DEBUG
// Marking bits are cleared by the sweeper.
heap_->mark_compact_collector()->VerifyMarkbitsAreClean();

Powered by Google App Engine
This is Rietveld 408576698