| Index: src/heap.cc
|
| diff --git a/src/heap.cc b/src/heap.cc
|
| index 1e5e908744974f72ff157776710e2cd526bf895b..914e21aa9c667fa7c4adbb5441534ee67716405a 100644
|
| --- a/src/heap.cc
|
| +++ b/src/heap.cc
|
| @@ -118,8 +118,8 @@ Heap::Heap()
|
| debug_utils_(NULL),
|
| #endif // DEBUG
|
| new_space_high_promotion_mode_active_(false),
|
| - old_gen_promotion_limit_(kMinimumPromotionLimit),
|
| - old_gen_allocation_limit_(kMinimumAllocationLimit),
|
| + old_gen_promotion_limit_(kMinPromotionLimit),
|
| + old_gen_allocation_limit_(kMinAllocationLimit),
|
| old_gen_limit_factor_(1),
|
| size_of_old_gen_at_last_old_space_gc_(0),
|
| external_allocation_limit_(0),
|
| @@ -829,9 +829,9 @@ bool Heap::PerformGarbageCollection(GarbageCollector collector,
|
| }
|
|
|
| old_gen_promotion_limit_ =
|
| - OldGenPromotionLimit(size_of_old_gen_at_last_old_space_gc_);
|
| + OldGenLimit(size_of_old_gen_at_last_old_space_gc_, kMinPromotionLimit);
|
| old_gen_allocation_limit_ =
|
| - OldGenAllocationLimit(size_of_old_gen_at_last_old_space_gc_);
|
| + OldGenLimit(size_of_old_gen_at_last_old_space_gc_, kMinAllocationLimit);
|
|
|
| old_gen_exhausted_ = false;
|
| } else {
|
|
|