Index: src/heap/heap.cc |
diff --git a/src/heap/heap.cc b/src/heap/heap.cc |
index 3c51b6e23f67e2af548057d590ac1f035b2dc039..9785be0b91d59785a5b38a6da7ac38006ed8bfa2 100644 |
--- a/src/heap/heap.cc |
+++ b/src/heap/heap.cc |
@@ -4485,7 +4485,13 @@ bool Heap::IdleNotification(int idle_time_in_ms) { |
PrintF("Idle notification: requested idle time %d ms, actual time %d ms [", |
idle_time_in_ms, actual_time_in_ms); |
action.Print(); |
- PrintF("]\n"); |
+ PrintF("]"); |
+ if (FLAG_trace_idle_notification_verbose) { |
+ PrintF("["); |
+ heap_state.Print(); |
+ PrintF("]"); |
+ } |
+ PrintF("\n"); |
} |
contexts_disposed_ = 0; |