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()); |
} |