Index: src/heap/gc-idle-time-handler.h |
diff --git a/src/heap/gc-idle-time-handler.h b/src/heap/gc-idle-time-handler.h |
index 6a39b78aaa2fcc24fd5210236f177bf0f9fffc14..faccfe2f2da51497074153d3634b947844d07183 100644 |
--- a/src/heap/gc-idle-time-handler.h |
+++ b/src/heap/gc-idle-time-handler.h |
@@ -126,6 +126,10 @@ class GCIdleTimeHandler { |
// 16 ms when there is currently no rendering going on. |
static const size_t kMaxScheduledIdleTime = 50; |
+ // We conservatively assume that in the next kTimeUntilNextIdleEvent ms |
+ // no idle notification happens. |
+ static const size_t kTimeUntilNextIdleEvent = 100; |
+ |
// If we haven't recorded any scavenger events yet, we use a conservative |
// lower bound for the scavenger speed. |
static const size_t kInitialConservativeScavengeSpeed = 100 * KB; |