| Index: runtime/vm/service/service.idl
|
| diff --git a/runtime/vm/service/service.idl b/runtime/vm/service/service.idl
|
| index 71bda63a091fd903a1297b2f17253d86391df70b..91aa7f373ab25c6a17efbae3ad208560dd5e6640 100644
|
| --- a/runtime/vm/service/service.idl
|
| +++ b/runtime/vm/service/service.idl
|
| @@ -45,11 +45,11 @@ interface Service {
|
| getTagProfile(isolateId string) TagProfile
|
|
|
| // Returns an allocation profile for an isolate.
|
| - //
|
| + //
|
| // <code>reset</code> is optional and indicates whether allocation
|
| // accumulators should be reset.
|
| //
|
| - // <code>gc</code> is optional and indicates whether a full
|
| + // <code>gc</code> is optional and indicates whether a full
|
| getAllocationProfile(isolateId string,
|
| reset bool,
|
| gc GCOption) AllocationProfile
|
| @@ -73,6 +73,8 @@ interface Service {
|
| getInboundReferences(isolateId string,
|
| targetId string,
|
| limit int) InboundReferences
|
| +
|
| + getClassList(isolateId string) ClassList
|
| }
|
|
|
|
|
| @@ -132,6 +134,11 @@ struct CodeRef extends ObjectRef {
|
| }
|
|
|
|
|
| +struct ClassRef extends ObjectRef {
|
| + placeholder int
|
| +}
|
| +
|
| +
|
| // A <code>FunctionRef</code> encodes a reference to a <code>Function</code> object.
|
| struct FunctionRef extends ObjectRef {
|
| placeholder int
|
| @@ -156,6 +163,11 @@ struct ScriptRef extends ObjectRef {
|
| }
|
|
|
|
|
| +struct Class extends Object {
|
| + placeholder int
|
| +}
|
| +
|
| +
|
| // A <code>Location</code> encodes a location withing a dart script.
|
| //
|
| // TODO(turnidge): Should this really be broken out as its own type?
|
| @@ -272,6 +284,11 @@ struct InboundReference {
|
| }
|
|
|
|
|
| +struct ClassList {
|
| + classes []ClassRef
|
| +}
|
| +
|
| +
|
| // A <code>GCOption</code> is used to indicate which form of garbage
|
| // collection is requested.
|
| enum GCOption {
|
|
|