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

Unified Diff: runtime/vm/isolate.cc

Issue 1348383002: Fix compiler stats (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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
« no previous file with comments | « runtime/vm/compiler_stats.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/isolate.cc
diff --git a/runtime/vm/isolate.cc b/runtime/vm/isolate.cc
index f2f618446027c1434a1036257cf03b2095968c68..0178111d828f9057fcaefddda708e719450a1fa0 100644
--- a/runtime/vm/isolate.cc
+++ b/runtime/vm/isolate.cc
@@ -1496,7 +1496,9 @@ void Isolate::LowLevelShutdown() {
HandleScope handle_scope(thread);
NoSafepointScope no_safepoint_scope;
- if (FLAG_compiler_stats) {
+ if (FLAG_compiler_stats
+ && !ServiceIsolate::IsServiceIsolate(this)
+ && (this != Dart::vm_isolate())) {
OS::Print("%s", compiler_stats()->PrintToZone());
}
« no previous file with comments | « runtime/vm/compiler_stats.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698