| Index: src/incremental-marking.h
|
| diff --git a/src/incremental-marking.h b/src/incremental-marking.h
|
| index 1b2c4ac1a232d372057332b2406738ab513a76b3..0e0619a54b3c60d509cd7e2707a04c8c89b7febb 100644
|
| --- a/src/incremental-marking.h
|
| +++ b/src/incremental-marking.h
|
| @@ -69,7 +69,9 @@ class IncrementalMarking : public AllStatic {
|
| static void MarkingComplete();
|
|
|
| static const intptr_t kAllocatedThreshold = 1024;
|
| - static const intptr_t kAllocationMarkingFactor = 8;
|
| + static const intptr_t kInitialAllocationMarkingFactor = 8;
|
| + static const intptr_t kAllocationMarkingFactorSpeedupInterval = 512;
|
| + static const intptr_t kAllocationMarkingFactorSpeedup = 2;
|
|
|
| static void Step(intptr_t allocated);
|
|
|
| @@ -218,6 +220,7 @@ class IncrementalMarking : public AllStatic {
|
| static void ResetStepCounters() {
|
| steps_count_ = 0;
|
| steps_took_ = 0;
|
| + allocation_marking_factor_ = kInitialAllocationMarkingFactor;
|
| }
|
|
|
|
|
| @@ -227,6 +230,7 @@ class IncrementalMarking : public AllStatic {
|
| static int steps_count_;
|
| static double steps_took_;
|
|
|
| + static intptr_t allocation_marking_factor_;
|
| };
|
|
|
| } } // namespace v8::internal
|
|
|