Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(983)

Unified Diff: src/heap/heap.cc

Issue 763063002: Just print interesting idle notification events in --trace-idle-notification. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698