Skip to content
🤔 Documentation issue? Report it

//leakcanary-repo/shark/HprofRecord

HprofRecord

sealed class HprofRecord

A Hprof record. These data structure map 1:1 with how records are written in hprof files.

Inheritors

StringRecord
LoadClassRecord
UnloadClassRecord
HeapDumpEndRecord
StackFrameRecord
StackTraceRecord
HeapDumpRecord

Types

Name Summary
HeapDumpEndRecord [jvm]
object HeapDumpEndRecord : HprofRecord
Terminates a series of heap dump segments. Concatenation of heap dump segments equals a heap dump.
HeapDumpRecord [jvm]
sealed class HeapDumpRecord : HprofRecord
LoadClassRecord [jvm]
class LoadClassRecord(val classSerialNumber: Int, val id: Long, val stackTraceSerialNumber: Int, val classNameStringId: Long) : HprofRecord
StackFrameRecord [jvm]
class StackFrameRecord(val id: Long, val methodNameStringId: Long, val methodSignatureStringId: Long, val sourceFileNameStringId: Long, val classSerialNumber: Int, val lineNumber: Int) : HprofRecord
StackTraceRecord [jvm]
class StackTraceRecord(val stackTraceSerialNumber: Int, val threadSerialNumber: Int, val stackFrameIds: LongArray) : HprofRecord
StringRecord [jvm]
class StringRecord(val id: Long, val string: String) : HprofRecord
UnloadClassRecord [jvm]
class UnloadClassRecord(val classSerialNumber: Int) : HprofRecord