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

Unified Diff: runtime/observatory/lib/src/models/objects/object.dart

Issue 2244433003: Converted Observatory refs elements (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: All element tested Created 4 years, 4 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/models/objects/object.dart
diff --git a/runtime/observatory/lib/src/models/objects/object.dart b/runtime/observatory/lib/src/models/objects/object.dart
index 829a60d2880250a4802b7ea7620cf8a3a085c577..1f849168611861474ce6332871529ef0c2adc464 100644
--- a/runtime/observatory/lib/src/models/objects/object.dart
+++ b/runtime/observatory/lib/src/models/objects/object.dart
@@ -9,4 +9,23 @@ abstract class ObjectRef {
String get id;
}
-abstract class Object implements ObjectRef {}
+abstract class Object implements ObjectRef {
+ /// [optional] If an object is allocated in the Dart heap, it will have
+ /// a corresponding class object.
+ ///
+ /// The class of a non-instance is not a Dart class, but is instead
+ /// an internal vm object.
+ ///
+ /// Moving an Object into or out of the heap is considered a
+ /// backwards compatible change for types other than Instance.
+ //ClassRef get clazz;
Cutch 2016/08/15 23:27:08 why is this commented out?
cbernaschina 2016/08/16 00:01:44 Done.
+
+ /// [optional] The size of this object in the heap.
+ ///
+ /// If an object is not heap-allocated, then this field is omitted.
+ ///
+ /// Note that the size can be zero for some objects. In the current
+ /// VM implementation, this occurs for small integers, which are
+ /// stored entirely within their object pointers.
+ //int get size;
Cutch 2016/08/15 23:27:08 why is this commented out?
cbernaschina 2016/08/16 00:01:44 Done.
+}

Powered by Google App Engine
This is Rietveld 408576698