Reviewers: fschneider, Description: Set old gen allocation limits higher for the case where new space is fairly large relative to old space.
Please review this at http://codereview.chromium.org/6850014/ SVN Base: http://v8.googlecode.com/svn/branches/experimental/gc/ Affected files: M src/heap.cc Index: src/heap.cc =================================================================== --- src/heap.cc (revision 7617) +++ src/heap.cc (working copy) @@ -728,9 +728,13 @@ intptr_t old_gen_size = PromotedSpaceSize(); old_gen_promotion_limit_ = - old_gen_size + Max(kMinimumPromotionLimit, old_gen_size / 3); + old_gen_size + + Max(kMinimumPromotionLimit, old_gen_size / 3) + + new_space()->Capacity(); old_gen_allocation_limit_ = - old_gen_size + Max(kMinimumAllocationLimit, old_gen_size / 2); + old_gen_size + + Max(kMinimumAllocationLimit, old_gen_size / 2) + + new_space()->Capacity(); if (high_survival_rate_during_scavenges && IsStableOrIncreasingSurvivalTrend()) { -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
