Heap Profiler Domain
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun addInspectedHeapObject(heapObjectId: HeapSnapshotObjectId): AddInspectedHeapObjectResponse
suspend fun addInspectedHeapObject(input: AddInspectedHeapObjectRequest): AddInspectedHeapObjectResponse
Enables console to refer to the node with given id via $x (see Command Line API for more details $x functions).
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Subscribes to all events related to this domain.
Link copied to clipboard
Link copied to clipboard
suspend fun getObjectByHeapObjectId(input: GetObjectByHeapObjectIdRequest): GetObjectByHeapObjectIdResponse
inline suspend fun getObjectByHeapObjectId(objectId: HeapSnapshotObjectId, optionalArgs: GetObjectByHeapObjectIdRequest.Builder.() -> Unit = {}): GetObjectByHeapObjectIdResponse
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
If heap objects tracking has been started then backend may send update for one or more fragments
Link copied to clipboard
Link copied to clipboard
If heap objects tracking has been started then backend regularly sends a current value for last seen object id and corresponding timestamp. If the were changes in the heap since last event then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline suspend fun startSampling(optionalArgs: StartSamplingRequest.Builder.() -> Unit = {}): StartSamplingResponse
Link copied to clipboard
inline suspend fun startTrackingHeapObjects(optionalArgs: StartTrackingHeapObjectsRequest.Builder.() -> Unit = {}): StartTrackingHeapObjectsResponse
suspend fun startTrackingHeapObjects(input: StartTrackingHeapObjectsRequest): StartTrackingHeapObjectsResponse
Link copied to clipboard
Link copied to clipboard
inline suspend fun stopTrackingHeapObjects(optionalArgs: StopTrackingHeapObjectsRequest.Builder.() -> Unit = {}): StopTrackingHeapObjectsResponse
suspend fun stopTrackingHeapObjects(input: StopTrackingHeapObjectsRequest): StopTrackingHeapObjectsResponse
Link copied to clipboard
inline suspend fun takeHeapSnapshot(optionalArgs: TakeHeapSnapshotRequest.Builder.() -> Unit = {}): TakeHeapSnapshotResponse