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

Unified Diff: src/heap.cc

Issue 6597104: Move IncrementalRecordWrite to a stub. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/gc
Patch Set: Created 9 years, 10 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
diff --git a/src/heap.cc b/src/heap.cc
index 0eb77b4fe2b0d833495e77d86a93b4d66de99528..e383112c49402f1f486059e95d772101126efbeb 100644
--- a/src/heap.cc
+++ b/src/heap.cc
@@ -501,7 +501,7 @@ bool Heap::CollectGarbage(AllocationSpace space, GarbageCollector collector) {
}
ASSERT(IncrementalMarking::state() == IncrementalMarking::STOPPED);
- if (NextGCIsLikelyToBeFull() && FLAG_incremental_marking) {
+ if (IncrementalMarking::WorthActivating() && NextGCIsLikelyToBeFull()) {
IncrementalMarking::Start();
}

Powered by Google App Engine
This is Rietveld 408576698