Hprof

class Hprof : Closeable

Hprof is deprecated, and we offer partial backward compatibility. Any code that was previously using HprofReader directly now has to call StreamingHprofReader.readerFor or HprofRandomAcccessReader.readerFor

Types

Companion
Link copied to clipboard
object Companion
HprofVersion
Link copied to clipboard
enum HprofVersion : Enum<Hprof.HprofVersion>

Functions

attachClosable
Link copied to clipboard
fun attachClosable(closeable: Closeable)

Maintains backward compatibility because Hprof.open returns a closeable. This allows consuming libraries to attach a closeable that will be closed whe Hprof is closed.

close
Link copied to clipboard
open override fun close()

Properties

file
Link copied to clipboard
val file: File
fileLength
Link copied to clipboard
val fileLength: Long
header
Link copied to clipboard
val header: HprofHeader
heapDumpTimestamp
Link copied to clipboard
val heapDumpTimestamp: Long
hprofVersion
Link copied to clipboard
val hprofVersion: Hprof.HprofVersion
reader
Link copied to clipboard
val reader: HprofReader