Chromium Code Reviews| 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(); |