| Index: src/heap/heap.cc
|
| diff --git a/src/heap/heap.cc b/src/heap/heap.cc
|
| index 764d1003e9bfbf8bb25f9c8c31fff90fe5616143..78618798dde37220297a6953a21f0fdb1a8c1646 100644
|
| --- a/src/heap/heap.cc
|
| +++ b/src/heap/heap.cc
|
| @@ -1296,7 +1296,8 @@ bool Heap::PerformGarbageCollection(
|
| amount_of_external_allocated_memory_at_last_global_gc_ =
|
| amount_of_external_allocated_memory_;
|
| SetOldGenerationAllocationLimit(old_gen_size, gc_speed, mutator_speed);
|
| - } else if (HasLowYoungGenerationAllocationRate()) {
|
| + } else if (HasLowYoungGenerationAllocationRate() &&
|
| + old_generation_size_configured_) {
|
| DampenOldGenerationAllocationLimit(old_gen_size, gc_speed, mutator_speed);
|
| }
|
|
|
|
|