AndroidDebugHeapDumper

object AndroidDebugHeapDumper : HeapDumper

Dumps the Android heap using Debug.dumpHprofData.

Note: despite being part of the Debug class, Debug.dumpHprofData can be called from non debuggable non profileable builds.

Functions

dumpHeap
Link copied to clipboard
open override fun dumpHeap(heapDumpFile: File)

Dumps the heap. The implementation is expected to be blocking until the heap is dumped or heap dumping failed.