Index: src/heap/heap.h |
diff --git a/src/heap/heap.h b/src/heap/heap.h |
index 270feda587be961ae9fde87ac3f50a7d784d7142..5a1a2b8a02c0cc1b4d2de2e30ef28e7186fea717 100644 |
--- a/src/heap/heap.h |
+++ b/src/heap/heap.h |
@@ -1176,6 +1176,10 @@ class Heap { |
// Sets the allocation limit to trigger the next full garbage collection. |
void SetOldGenerationAllocationLimit(intptr_t old_gen_size, double gc_speed, |
double mutator_speed); |
+ // Decreases the allocation limit if the the allocation rate is low. |
Hannes Payer (out of office)
2015/06/16 22:29:22
This function does not depend on low allocation ra
ulan
2015/06/17 08:47:45
Done.
|
+ void DampenOldGenerationAllocationLimit(intptr_t old_gen_size, |
+ double gc_speed, |
+ double mutator_speed); |
// Indicates whether inline bump-pointer allocation has been disabled. |
bool inline_allocation_disabled() { return inline_allocation_disabled_; } |