SamplingHeapProfileNode

@Serializable
data class SamplingHeapProfileNode(val callFrame: Runtime.CallFrame, val selfSize: Double, val id: Int, val children: List<HeapProfiler.SamplingHeapProfileNode>)

Sampling Heap Profile node. Holds callsite information, allocation statistics and child nodes.

Constructors

Link copied to clipboard
constructor(callFrame: Runtime.CallFrame, selfSize: Double, id: Int, children: List<HeapProfiler.SamplingHeapProfileNode>)

Properties

Link copied to clipboard

Function location.

Link copied to clipboard
Link copied to clipboard
val id: Int

Node id. Ids are unique across all profiles collected between startSampling and stopSampling.

Link copied to clipboard

Allocations size in bytes for the node excluding children.