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

Unified Diff: runtime/observatory/lib/src/service/object.dart

Issue 1150103005: Provide a logical view of VM-internal maps in Observatory. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 7 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/observatory/lib/src/service/object.dart
diff --git a/runtime/observatory/lib/src/service/object.dart b/runtime/observatory/lib/src/service/object.dart
index 1e744a31b1bdc23a772f233bfe5ce7d7b784a045..6ec17cce3291131f08ed72ddb005541735cf8810 100644
--- a/runtime/observatory/lib/src/service/object.dart
+++ b/runtime/observatory/lib/src/service/object.dart
@@ -1789,12 +1789,13 @@ class Instance extends ServiceObject {
@observable ServiceFunction function; // If a closure.
@observable Context context; // If a closure.
@observable String name; // If a Type.
- @observable int length; // If a List.
+ @observable int length; // If a List or Map.
@observable var typeClass;
@observable var fields;
@observable var nativeFields;
- @observable var elements;
+ @observable var elements; // If a List.
+ @observable var associations; // If a Map.
@observable var referent; // If a MirrorReference.
@observable Instance key; // If a WeakProperty.
@observable Instance value; // If a WeakProperty.
@@ -1842,6 +1843,7 @@ class Instance extends ServiceObject {
nativeFields = map['_nativeFields'];
fields = map['fields'];
elements = map['elements'];
+ associations = map['associations'];
typeClass = map['typeClass'];
referent = map['mirrorReferent'];
key = map['propertyKey'];
« no previous file with comments | « runtime/observatory/lib/src/elements/instance_view.html ('k') | runtime/observatory/tests/service/get_object_rpc_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698