//leakcanary-repo/leakcanary/HeapDumper
HeapDumper¶
fun interface HeapDumper
Types¶
Name | Summary |
---|---|
Companion | [jvm] object Companion This allows external modules to add factory methods for implementations of this interface as extension functions of this companion object. |
Functions¶
Name | Summary |
---|---|
dumpHeap | [jvm] abstract fun dumpHeap(heapDumpFile: File) Dumps the heap. The implementation is expected to be blocking until the heap is dumped or heap dumping failed. |
withGc | [jvm] fun HeapDumper.withGc(gcTrigger: GcTrigger = GcTrigger.inProcess()): HeapDumper |