HeapDumper

Types

Link copied to clipboard
object Companion

This allows external modules to add factory methods for implementations of this interface as extension functions of this companion object.

Functions

Link copied to clipboard
abstract fun dumpHeap(heapDumpFile: File)

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

Link copied to clipboard
fun HeapDumper.withDetectorWarmup(objectGrowthDetector: ObjectGrowthDetector): HeapDumper
Link copied to clipboard
fun HeapDumper.withGc(gcTrigger: GcTrigger = GcTrigger.inProcess()): HeapDumper