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

Unified Diff: runtime/vm/isolate.cc

Issue 38703009: Update VM service to new isolate API (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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/isolate.cc
diff --git a/runtime/vm/isolate.cc b/runtime/vm/isolate.cc
index d8ab9a53852f0d8d4789fda623e5a59226beacad..50cf69fa22385cb3406fb5c9d6c6e9487c224d18 100644
--- a/runtime/vm/isolate.cc
+++ b/runtime/vm/isolate.cc
@@ -279,6 +279,7 @@ Isolate::Isolate()
name_(NULL),
start_time_(OS::GetCurrentTimeMicros()),
main_port_(0),
+ service_port_(0),
heap_(NULL),
object_store_(NULL),
top_context_(Context::null()),
@@ -385,6 +386,7 @@ Isolate* Isolate::Init(const char* name_prefix) {
// main thread.
result->SetStackLimitFromCurrentTOS(reinterpret_cast<uword>(&result));
result->set_main_port(PortMap::CreatePort(result->message_handler()));
+ result->set_service_port(PortMap::CreatePort(result->message_handler()));
Ivan Posva 2013/10/25 00:30:27 What is this service port used for? How does the V
Cutch 2013/10/25 01:21:57 (Florian is closing the main port from Dart code a
result->BuildName(name_prefix);
result->debugger_ = new Debugger();

Powered by Google App Engine
This is Rietveld 408576698