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

Unified Diff: src/incremental-marking.cc

Issue 6824078: Move most of the incremental marking write barrier to generated code. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/gc/
Patch Set: '' Created 9 years, 8 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
===================================================================
--- src/incremental-marking.cc (revision 7619)
+++ src/incremental-marking.cc (working copy)
@@ -36,6 +36,10 @@
IncrementalMarking::State IncrementalMarking::state_ = STOPPED;
MarkingStack IncrementalMarking::marking_stack_;
+const char* IncrementalMarking::kWhiteBitPattern = "00";
+const char* IncrementalMarking::kBlackBitPattern = "10";
+const char* IncrementalMarking::kGreyBitPattern = "11";
+const char* IncrementalMarking::kImpossibleBitPattern = "01";
double IncrementalMarking::steps_took_ = 0;
int IncrementalMarking::steps_count_ = 0;
@@ -310,6 +314,7 @@
ResetStepCounters();
PatchIncrementalMarkingRecordWriteStubs(false);
ASSERT(marking_stack_.is_empty());
+ StackGuard::Continue(GC_REQUEST);
}
« src/ia32/code-stubs-ia32.h ('K') | « src/incremental-marking.h ('k') | src/mark-compact.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698