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

Unified Diff: src/incremental-marking.h

Issue 14988004: Revert fix incremental marking speed accelleration and start incremental marking when old space is … (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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 | « no previous file | src/incremental-marking.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/incremental-marking.h
diff --git a/src/incremental-marking.h b/src/incremental-marking.h
index 7b6927e8738b93e4b0ce89addd40b830a87e918b..fc5a978cc445b6d4627b0aaf5632d700201c3855 100644
--- a/src/incremental-marking.h
+++ b/src/incremental-marking.h
@@ -110,7 +110,10 @@ class IncrementalMarking {
static const intptr_t kMarkingSpeedAccelleration = 2;
static const intptr_t kMaxMarkingSpeed = 1000;
- void OldSpaceStep(intptr_t allocated);
+ void OldSpaceStep(intptr_t allocated) {
+ Step(allocated * kFastMarking / kInitialMarkingSpeed,
+ GC_VIA_STACK_GUARD);
+ }
void Step(intptr_t allocated, CompletionAction action);
« no previous file with comments | « no previous file | src/incremental-marking.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698