Undocumented (and currently unsupported) service methods and classes.
Success _collectAllGarbage(string isolateId)
Trigger a full GC, collecting all unreachable or weakly reachable objects.
Success _requestHeapSnapshot(string isolateId, string roots, bool collectGarbage)
roots is one of User or VM. The results are returned as a stream of [_Graph] events.
Success _clearCpuProfile(string isolateId)
_CpuProfile _getCpuProfile(string isolateId, string tags)
tags is one of UserVM, UserOnly, VMUser, VMOnly, or None.
class _CpuProfile extends Response { int sampleCount; int samplePeriod; int stackDepth; double timeSpan; int timeOriginMicros; int timeExtentMicros; CodeRegion[] codes; ProfileFunction[] functions; int[] exclusiveCodeTrie; int[] inclusiveCodeTrie; int[] exclusiveFunctionTrie; int[] inclusiveFunctionTrie; }
class CodeRegion { string kind; int inclusiveTicks; int exclusiveTicks; @Code code; }
class ProfileFunction { string kind; int inclusiveTicks; int exclusiveTicks; @Function function; int[] codes; }
class AllocationProfile extends Response { string dateLastServiceGC; ClassHeapStats[] members; }
class ClassHeapStats extends Response { @Class class; int[] new; int[] old; int promotedBytes; int promotedInstances; }
class HeapSpace extends Response { double avgCollectionPeriodMillis; int capacity; int collections; int external; String name; double time; int used; }