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

Unified Diff: runtime/vm/service.h

Issue 533073005: Reduce service isolate startup time from ~80ms to ~30ms (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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
Index: runtime/vm/service.h
diff --git a/runtime/vm/service.h b/runtime/vm/service.h
index 7270e2408fd4aba1fb2e0a80f01f640b365aeaa8..ec3a807ad30c2bc0f0a418bce2f5d3f56770123f 100644
--- a/runtime/vm/service.h
+++ b/runtime/vm/service.h
@@ -38,6 +38,10 @@ class Service : public AllStatic {
return port_ != ILLEGAL_PORT;
}
+ static void set_port(Dart_Port port) {
+ port_ = port;
+ }
+
static void SetEventMask(uint32_t mask);
// Is the service interested in debugger events?

Powered by Google App Engine
This is Rietveld 408576698