| 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 cc233f9daae59f40a4ebd8fd22283fe6479da2a8..0459a5a982e9d23d137a7bae13a2e0c7350e83dc 100644
|
| --- a/runtime/observatory/lib/src/service/object.dart
|
| +++ b/runtime/observatory/lib/src/service/object.dart
|
| @@ -1182,7 +1182,7 @@ class Isolate extends ServiceObjectOwner with Coverage {
|
| Map params = {
|
| 'targetId': target.id,
|
| };
|
| - return invokeRpc('getRetainedSize', params);
|
| + return invokeRpc('_getRetainedSize', params);
|
| }
|
|
|
| Future<ServiceObject> getRetainingPath(ServiceObject target, var limit) {
|
| @@ -1190,7 +1190,7 @@ class Isolate extends ServiceObjectOwner with Coverage {
|
| 'targetId': target.id,
|
| 'limit': limit.toString(),
|
| };
|
| - return invokeRpc('getRetainingPath', params);
|
| + return invokeRpc('_getRetainingPath', params);
|
| }
|
|
|
| Future<ServiceObject> getInboundReferences(ServiceObject target, var limit) {
|
| @@ -1198,7 +1198,7 @@ class Isolate extends ServiceObjectOwner with Coverage {
|
| 'targetId': target.id,
|
| 'limit': limit.toString(),
|
| };
|
| - return invokeRpc('getInboundReferences', params);
|
| + return invokeRpc('_getInboundReferences', params);
|
| }
|
|
|
| Future<ServiceObject> getTypeArgumentsList(bool onlyWithInstantiations) {
|
| @@ -1213,7 +1213,7 @@ class Isolate extends ServiceObjectOwner with Coverage {
|
| 'classId': cls.id,
|
| 'limit': limit.toString(),
|
| };
|
| - return invokeRpc('getInstances', params);
|
| + return invokeRpc('_getInstances', params);
|
| }
|
|
|
| Future<ServiceObject> getObjectByAddress(String address, [bool ref=true]) {
|
| @@ -1295,6 +1295,11 @@ class ServiceMap extends ServiceObject implements ObservableMap {
|
| vmName = (_map.containsKey('vmName') ? _map['vmName'] : name);
|
| }
|
|
|
| + // TODO(turnidge): These are temporary until we have a proper root
|
| + // object for all dart heap objects.
|
| + int get size => _map['size'];
|
| + int get clazz => _map['class'];
|
| +
|
| // Forward Map interface calls.
|
| void addAll(Map other) => _map.addAll(other);
|
| void clear() => _map.clear();
|
|
|