Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(222)

Unified Diff: src/heap/heap.cc

Issue 961303002: Adjust OldGenerationAllocationLimit to grow the limit slower. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/heap.cc
diff --git a/src/heap/heap.cc b/src/heap/heap.cc
index 26cffc8fb5524e51310776f74c2fbc3e0e7edf8b..8d2b653e5c10bdafc10a2c1581534d3f8d7c8a51 100644
--- a/src/heap/heap.cc
+++ b/src/heap/heap.cc
@@ -5362,8 +5362,8 @@ int64_t Heap::PromotedExternalMemorySize() {
intptr_t Heap::OldGenerationAllocationLimit(intptr_t old_gen_size,
int freed_global_handles) {
- const int kMaxHandles = 1000;
- const int kMinHandles = 100;
+ const int kMaxHandles = 50;
+ const int kMinHandles = 10;
double min_factor = 1.1;
double max_factor = 4;
// We set the old generation growing factor to 2 to grow the heap slower on
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698