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

Unified Diff: runtime/vm/heap.cc

Issue 2771013002: Add more safe points in compiler (Closed)
Patch Set: Created 3 years, 9 months 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
Index: runtime/vm/heap.cc
diff --git a/runtime/vm/heap.cc b/runtime/vm/heap.cc
index 15bc62fc5aebb01d5c12e48866ac98c86ffb1b37..534dc434f536a39468a3436037328b9638b506cb 100644
--- a/runtime/vm/heap.cc
+++ b/runtime/vm/heap.cc
@@ -761,7 +761,7 @@ void Heap::PrintStats() {
"%" Pd ", %" Pd ", " // old gen: in use before/after
"%" Pd ", %" Pd ", " // old gen: capacity before/after
"%" Pd ", %" Pd ", " // old gen: external before/after
- "%.3f, %.3f, %.3f, %.3f, " // times
+ "%.3f, %.3f, %.3f, %.3f, %.3f, " // times
"%" Pd ", %" Pd ", %" Pd ", %" Pd ", " // data
"]\n", // End with a comma to make it easier to import in spreadsheets.
isolate()->main_port(), space_str, GCReasonToString(stats_.reason_),
@@ -785,6 +785,7 @@ void Heap::PrintStats() {
MicrosecondsToMilliseconds(stats_.times_[1]),
MicrosecondsToMilliseconds(stats_.times_[2]),
MicrosecondsToMilliseconds(stats_.times_[3]),
+ MicrosecondsToMilliseconds(stats_.times_[4]),
stats_.data_[0],
stats_.data_[1],
stats_.data_[2],
« runtime/vm/compiler.cc ('K') | « runtime/vm/heap.h ('k') | runtime/vm/pages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698