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

Unified Diff: runtime/vm/dart.cc

Issue 2483373002: Add Kernel Isolate (Closed)
Patch Set: wip Created 4 years 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/dart.cc
diff --git a/runtime/vm/dart.cc b/runtime/vm/dart.cc
index 07547deb87347f40a619506277052daf862dd358..3119367b1d256575b4a463c386bffda5fa2672f3 100644
--- a/runtime/vm/dart.cc
+++ b/runtime/vm/dart.cc
@@ -16,6 +16,7 @@
#include "vm/handles.h"
#include "vm/heap.h"
#include "vm/isolate.h"
+#include "vm/kernel_isolate.h"
#include "vm/message_handler.h"
#include "vm/metrics.h"
#include "vm/object.h"
@@ -311,6 +312,7 @@ char* Dart::InitOnce(const uint8_t* vm_isolate_snapshot,
}
ServiceIsolate::Run();
+ KernelIsolate::Run();
Florian Schneider 2016/12/01 20:50:43 Please make sure that all code related to this new
hausner 2016/12/01 22:43:32 Done.
return NULL;
}
@@ -599,6 +601,7 @@ RawError* Dart::InitializeIsolate(const uint8_t* snapshot_buffer,
I->class_table()->Print();
}
+ KernelIsolate::InitCallback(I);
ServiceIsolate::MaybeMakeServiceIsolate(I);
if (!ServiceIsolate::IsServiceIsolate(I)) {
I->message_handler()->set_should_pause_on_start(

Powered by Google App Engine
This is Rietveld 408576698