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

Unified Diff: runtime/vm/service/running_isolates.dart

Issue 125103004: Move service into VM (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 11 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 | « runtime/vm/service/running_isolate.dart ('k') | runtime/vm/service/vmservice.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/service/running_isolates.dart
diff --git a/runtime/bin/vmservice/running_isolates.dart b/runtime/vm/service/running_isolates.dart
similarity index 91%
rename from runtime/bin/vmservice/running_isolates.dart
rename to runtime/vm/service/running_isolates.dart
index db93d089c5d0354599a758d067fa0d1e03bad7ba..3abd09a10ebfecbd26ca69d91e8429dd0f16129e 100644
--- a/runtime/bin/vmservice/running_isolates.dart
+++ b/runtime/vm/service/running_isolates.dart
@@ -10,17 +10,11 @@ class RunningIsolates implements MessageRouter {
RunningIsolates();
void isolateStartup(int portId, SendPort sp, String name) {
- if (isolates[portId] != null) {
- throw new StateError('Duplicate isolate startup.');
- }
var ri = new RunningIsolate(portId, sp, name);
isolates[portId] = ri;
}
void isolateShutdown(int portId, SendPort sp) {
- if (isolates[portId] == null) {
- throw new StateError('Unknown isolate.');
- }
isolates.remove(portId);
}
« no previous file with comments | « runtime/vm/service/running_isolate.dart ('k') | runtime/vm/service/vmservice.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698