Commit 3adebeaa authored by hpayer's avatar hpayer Committed by Commit bot

Just print interesting idle notification events in --trace-idle-notification.

BUG=

Review URL: https://codereview.chromium.org/763063002

Cr-Commit-Position: refs/heads/master@{#25539}
parent 28fa2aa4
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment