Revision: 14558
Author: [email protected]
Date: Mon May 6 06:39:54 2013
Log: Revert fix incremental marking speed accelleration and start
incremental marking when old space is almost full when pretenuring objects.
BUG=
Review URL: https://codereview.chromium.org/14988004
http://code.google.com/p/v8/source/detail?r=14558
Modified:
/branches/bleeding_edge/src/incremental-marking.cc
/branches/bleeding_edge/src/incremental-marking.h
=======================================
--- /branches/bleeding_edge/src/incremental-marking.cc Mon May 6 06:07:10
2013
+++ /branches/bleeding_edge/src/incremental-marking.cc Mon May 6 06:39:54
2013
@@ -858,15 +858,6 @@
heap_->isolate()->stack_guard()->RequestGC();
}
}
-
-
-void IncrementalMarking::OldSpaceStep(intptr_t allocated) {
- if (IsStopped() && WorthActivating() && heap_->NextGCIsLikelyToBeFull())
{
- Start();
- } else {
- Step(allocated * kFastMarking / kInitialMarkingSpeed,
GC_VIA_STACK_GUARD);
- }
-}
void IncrementalMarking::Step(intptr_t allocated_bytes,
@@ -974,7 +965,7 @@
PrintPID("Postponing speeding up marking until marking starts\n");
}
} else {
- marking_speed_ += kMarkingSpeedAccelleration;
+ marking_speed_ += kMarkingSpeedAccellerationInterval;
marking_speed_ = static_cast<int>(
Min(kMaxMarkingSpeed,
static_cast<intptr_t>(marking_speed_ * 1.3)));
=======================================
--- /branches/bleeding_edge/src/incremental-marking.h Mon May 6 06:07:10
2013
+++ /branches/bleeding_edge/src/incremental-marking.h Mon May 6 06:39:54
2013
@@ -110,7 +110,10 @@
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);
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.