| Index: src/heap.h
|
| diff --git a/src/heap.h b/src/heap.h
|
| index 1c8e0e16e60405f0c03b08b971057b51fa7a9d45..cf9121f47025824718febad017eb4438b400e6db 100644
|
| --- a/src/heap.h
|
| +++ b/src/heap.h
|
| @@ -2186,6 +2186,13 @@ class Heap {
|
| void ProcessArrayBuffers(WeakObjectRetainer* retainer, bool record_slots);
|
| void ProcessAllocationSites(WeakObjectRetainer* retainer, bool record_slots);
|
|
|
| + // Deopts all dependent code of the currently registered allocation sites.
|
| + void DeoptAllAllocationSitesDependentCode();
|
| +
|
| + // Evaluates local pretenuring and calls DeoptAllAllocationSitesDependentCode
|
| + // if too many objects died in the old generation.
|
| + void EvaluateLocalPretenuring(int64_t objects_before_gc);
|
| +
|
| // Called on heap tear-down.
|
| void TearDownArrayBuffers();
|
|
|
| @@ -2229,6 +2236,8 @@ class Heap {
|
| static const int kYoungSurvivalRateLowThreshold = 10;
|
| static const int kYoungSurvivalRateAllowedDeviation = 15;
|
|
|
| + static const int kOldSurvivalRateLowThreshold = 20;
|
| +
|
| int young_survivors_after_last_gc_;
|
| int high_survival_rate_period_length_;
|
| int low_survival_rate_period_length_;
|
|
|