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

Unified Diff: runtime/vm/dart.cc

Issue 2689563010: Don’t pause kernel isolate on startup (Closed)
Patch Set: Created 3 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/dart.cc
diff --git a/runtime/vm/dart.cc b/runtime/vm/dart.cc
index 978f5468d1563570da08a1d156c99e0f12334105..f872fa17b3fda4b55a769741d0ae976d622c1446 100644
--- a/runtime/vm/dart.cc
+++ b/runtime/vm/dart.cc
@@ -614,7 +614,8 @@ RawError* Dart::InitializeIsolate(const uint8_t* snapshot_data,
KernelIsolate::InitCallback(I);
#endif
ServiceIsolate::MaybeMakeServiceIsolate(I);
- if (!ServiceIsolate::IsServiceIsolate(I)) {
+ if (!ServiceIsolate::IsServiceIsolate(I) &&
+ !KernelIsolate::IsKernelIsolate(I)) {
I->message_handler()->set_should_pause_on_start(
FLAG_pause_isolates_on_start);
I->message_handler()->set_should_pause_on_exit(FLAG_pause_isolates_on_exit);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698