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

Unified Diff: runtime/vm/isolate.cc

Issue 1127383008: Fix CompilerStats info (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 7 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/isolate.cc
===================================================================
--- runtime/vm/isolate.cc (revision 45719)
+++ runtime/vm/isolate.cc (working copy)
@@ -594,6 +594,7 @@
defer_finalization_count_(0),
deopt_context_(NULL),
edge_counter_increment_size_(-1),
+ compiler_stats_(NULL),
is_service_isolate_(false),
log_(new class Log()),
stacktrace_(NULL),
@@ -777,6 +778,8 @@
}
}
+ result->compiler_stats_ = new CompilerStats(result);
siva 2015/05/12 17:39:52 Should this be done conditionally under FLAG_compi
hausner 2015/05/12 21:52:16 Yes.
+
// Add to isolate list.
AddIsolateTolist(result);
@@ -1431,7 +1434,7 @@
api_state()->weak_persistent_handles().VisitHandles(&visitor);
api_state()->prologue_weak_persistent_handles().VisitHandles(&visitor);
- CompilerStats::Print();
+ compiler_stats()->Print();
if (FLAG_trace_isolates) {
heap()->PrintSizes();
megamorphic_cache_table()->PrintSizes();

Powered by Google App Engine
This is Rietveld 408576698