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

Unified Diff: src/heap.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/heap.cc
===================================================================
--- src/heap.cc (revision 7619)
+++ src/heap.cc (working copy)
@@ -146,6 +146,7 @@
int Heap::always_allocate_scope_depth_ = 0;
int Heap::linear_allocation_scope_depth_ = 0;
int Heap::contexts_disposed_ = 0;
+int Heap::scan_on_scavenge_pages_ = 0;
int Heap::young_survivors_after_last_gc_ = 0;
int Heap::high_survival_rate_period_length_ = 0;
@@ -514,6 +515,7 @@
ASSERT(collector == SCAVENGER || IncrementalMarking::IsStopped());
if (IncrementalMarking::IsStopped()) {
+ StackGuard::Continue(GC_REQUEST);
Vyacheslav Egorov (Chromium) 2011/04/16 17:50:36 Move to IncrementalMarking::Finalize
Erik Corry 2011/04/23 17:00:11 Done.
if (IncrementalMarking::WorthActivating() && NextGCIsLikelyToBeFull()) {
IncrementalMarking::Start();
}

Powered by Google App Engine
This is Rietveld 408576698