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

Unified Diff: src/incremental-marking.cc

Issue 6995018: Ensure that we are getting steps from inline allocation when doing incremental sweeping. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/gc
Patch Set: Created 9 years, 7 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
« no previous file with comments | « src/heap.cc ('k') | tools/ll_prof.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/incremental-marking.cc
diff --git a/src/incremental-marking.cc b/src/incremental-marking.cc
index 82484f0982144555c731eb4d15b203a5a9492308..913dee79f6d52577b22af279f618e89ba0dae598 100644
--- a/src/incremental-marking.cc
+++ b/src/incremental-marking.cc
@@ -244,6 +244,8 @@ void IncrementalMarking::Start() {
}
state_ = SWEEPING;
}
+
+ heap_->new_space()->LowerInlineAllocationLimit(kAllocatedThreshold);
}
@@ -275,8 +277,6 @@ void IncrementalMarking::StartMarking() {
VerifyMarkbitsAreClean();
#endif
- heap_->new_space()->LowerInlineAllocationLimit(kAllocatedThreshold);
-
// Mark strong roots grey.
IncrementalMarkingRootMarkingVisitor visitor(heap_, this);
heap_->IterateStrongRoots(&visitor, VISIT_ONLY_STRONG);
« no previous file with comments | « src/heap.cc ('k') | tools/ll_prof.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698