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

Side by Side Diff: runtime/bin/vmservice/client/lib/src/service/service.dart

Issue 197803004: Add dead CodeRegionTable for tracking overwritten Dart code (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/bin/vmservice/client/lib/src/service/object.dart ('k') | runtime/platform/globals.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of service; 5 part of service;
6 6
7 /// A [ServiceObject] is an object known to the VM service and is tied 7 /// A [ServiceObject] is an object known to the VM service and is tied
8 /// to an owning [Isolate]. 8 /// to an owning [Isolate].
9 abstract class ServiceObject extends Observable { 9 abstract class ServiceObject extends Observable {
10 Isolate _isolate; 10 Isolate _isolate;
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 vm.isolates.update(m); 176 vm.isolates.update(m);
177 return vm.isolates; 177 return vm.isolates;
178 case 'Script': 178 case 'Script':
179 return isolate.scripts.putIfAbsent(m); 179 return isolate.scripts.putIfAbsent(m);
180 case 'Code': 180 case 'Code':
181 return isolate.codes.putIfAbsent(m); 181 return isolate.codes.putIfAbsent(m);
182 case 'Isolate': 182 case 'Isolate':
183 return vm.isolates.getIsolateFromMap(m); 183 return vm.isolates.getIsolateFromMap(m);
184 case 'Class': 184 case 'Class':
185 return isolate.classes.putIfAbsent(m); 185 return isolate.classes.putIfAbsent(m);
186 case 'Function':
187 return isolate.functions.putIfAbsent(m);
186 } 188 }
187 return new ServiceMap.fromMap(isolate, m); 189 return new ServiceMap.fromMap(isolate, m);
188 } 190 }
OLDNEW
« no previous file with comments | « runtime/bin/vmservice/client/lib/src/service/object.dart ('k') | runtime/platform/globals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698