Index: src/heap/heap.cc |
diff --git a/src/heap/heap.cc b/src/heap/heap.cc |
index 22ba7a9f1619cd3b3b1ab6c9bdbf838c41c139ec..194a08a4acad0b6b296c1fe4860848033bdfca1a 100644 |
--- a/src/heap/heap.cc |
+++ b/src/heap/heap.cc |
@@ -4485,7 +4485,8 @@ bool Heap::IdleNotification(int idle_time_in_ms) { |
actual_time_in_ms - idle_time_in_ms); |
} |
- if (FLAG_trace_idle_notification) { |
+ if ((FLAG_trace_idle_notification && action.type > DO_NOTHING) || |
+ FLAG_trace_idle_notification_verbose) { |
PrintF("Idle notification: requested idle time %d ms, actual time %d ms [", |
idle_time_in_ms, actual_time_in_ms); |
action.Print(); |