Reviewers: Hannes Payer,

Message:
PTAL. This looks perf-neutral on Octane (see perf try job)

Description:
Adjust OldGenerationAllocationLimit to grow the limit slower.

BUG=chromium:450824
LOG=NO

Please review this at https://codereview.chromium.org/961303002/

Base URL: https://chromium.googlesource.com/v8/v8.git@master

Affected files (+2, -2 lines):
  M src/heap/heap.cc


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


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to