From 3615dae7dcafa85021c0d38b28e74651b62a5b22 Mon Sep 17 00:00:00 2001 From: ulan Date: Mon, 5 Oct 2015 07:40:07 -0700 Subject: [PATCH] Increase the delay of memory reducer to make it less likely to start GC when the application is not idle. BUG= Review URL: https://codereview.chromium.org/1369333005 Cr-Commit-Position: refs/heads/master@{#31100} --- src/heap/memory-reducer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/heap/memory-reducer.cc b/src/heap/memory-reducer.cc index 278e8c670b..ffd2930540 100644 --- a/src/heap/memory-reducer.cc +++ b/src/heap/memory-reducer.cc @@ -13,7 +13,7 @@ namespace v8 { namespace internal { -const int MemoryReducer::kLongDelayMs = 5000; +const int MemoryReducer::kLongDelayMs = 20000; const int MemoryReducer::kShortDelayMs = 500; const int MemoryReducer::kWatchdogDelayMs = 100000; const int MemoryReducer::kMaxNumberOfGCs = 3;