Revision: 24066
Author: [email protected]
Date: Fri Sep 19 07:51:23 2014 UTC
Log: Perform scavenges only for small idle times.
BUG=
[email protected]
Review URL: https://codereview.chromium.org/586643002
https://code.google.com/p/v8/source/detail?r=24066
Modified:
/branches/bleeding_edge/src/heap/gc-idle-time-handler.cc
=======================================
--- /branches/bleeding_edge/src/heap/gc-idle-time-handler.cc Thu Sep 18
13:37:36 2014 UTC
+++ /branches/bleeding_edge/src/heap/gc-idle-time-handler.cc Fri Sep 19
07:51:23 2014 UTC
@@ -110,7 +110,8 @@
// that this currently may trigger a full garbage collection.
GCIdleTimeAction GCIdleTimeHandler::Compute(size_t idle_time_in_ms,
HeapState heap_state) {
- if (ScavangeMayHappenSoon(
+ if (idle_time_in_ms <= kMaxFrameRenderingIdleTime &&
+ ScavangeMayHappenSoon(
heap_state.available_new_space_memory,
heap_state.new_space_allocation_throughput_in_bytes_per_ms) &&
idle_time_in_ms >=
--
--
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.