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

Side by Side Diff: runtime/observatory/lib/src/elements/isolate_view.dart

Issue 2601153002: Added methods to surface number of zone and scoped handles for each isolate. (Closed)
Patch Set: Created 3 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 library isolate_view_element; 5 library isolate_view_element;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:html'; 8 import 'dart:html';
9 import 'package:observatory/models.dart' as M; 9 import 'package:observatory/models.dart' as M;
10 import 'package:observatory/src/elements/curly_block.dart'; 10 import 'package:observatory/src/elements/curly_block.dart';
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 ..text = 'service protocol extensions', 262 ..text = 'service protocol extensions',
263 new DivElement() 263 new DivElement()
264 ..classes = ['memberValue'] 264 ..classes = ['memberValue']
265 ..text = '${_isolate.extensionRPCs}' 265 ..text = '${_isolate.extensionRPCs}'
266 ], 266 ],
267 new DivElement() 267 new DivElement()
268 ..classes = ['memberItem'] 268 ..classes = ['memberItem']
269 ..children = [ 269 ..children = [
270 new DivElement() 270 new DivElement()
271 ..classes = ['memberName'] 271 ..classes = ['memberName']
272 ..text = 'zone handles',
Cutch 2017/01/03 18:16:49 How about something more like: "Allocated zone ha
bkonyi 2017/01/03 20:00:10 Done.
273 new DivElement()
274 ..classes = ['memberValue']
275 ..text = '${_isolate.numZoneHandles}'
276 ],
277 new DivElement()
278 ..classes = ['memberItem']
279 ..children = [
280 new DivElement()
281 ..classes = ['memberName']
282 ..text = 'scoped handles',
283 new DivElement()
284 ..classes = ['memberValue']
285 ..text = '${_isolate.numScopedHandles}'
286 ],
287 new DivElement()
288 ..classes = ['memberItem']
289 ..children = [
290 new DivElement()
291 ..classes = ['memberName']
272 ..text = 'object store', 292 ..text = 'object store',
273 new DivElement() 293 new DivElement()
274 ..classes = ['memberValue'] 294 ..classes = ['memberValue']
275 ..children = [ 295 ..children = [
276 new AnchorElement(href: Uris.objectStore(_isolate)) 296 new AnchorElement(href: Uris.objectStore(_isolate))
277 ..text = 'object store' 297 ..text = 'object store'
278 ] 298 ]
279 ], 299 ],
280 new BRElement(), 300 new BRElement(),
281 new DivElement() 301 new DivElement()
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 _function = await _functions.get(_isolate, frame.function.id); 419 _function = await _functions.get(_isolate, frame.function.id);
400 } 420 }
401 if (_isolate.rootLibrary != null) { 421 if (_isolate.rootLibrary != null) {
402 final rootLibrary = 422 final rootLibrary =
403 await _libraries.get(_isolate, _isolate.rootLibrary.id); 423 await _libraries.get(_isolate, _isolate.rootLibrary.id);
404 _rootScript = rootLibrary.rootScript; 424 _rootScript = rootLibrary.rootScript;
405 } 425 }
406 _r.dirty(); 426 _r.dirty();
407 } 427 }
408 } 428 }
OLDNEW
« no previous file with comments | « no previous file | runtime/observatory/lib/src/models/objects/isolate.dart » ('j') | runtime/vm/isolate.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698