Hprof Writer
Generates Hprof files.
Call openWriterFor to obtain a new instance.
Types
Functions
close
Link copied to clipboard
Flushes to disk all HprofRecord.HeapDumpRecord that are currently written to the in memory buffer, then closes the file.
values To Bytes
Link copied to clipboard
Helper method for creating a ByteArray for InstanceDumpRecord.fieldValues from a list of ValueHolder.
write
Link copied to clipboard
Appends a HprofRecord to the heap dump. If record is a HprofRecord.HeapDumpRecord then it will not be written to an in memory buffer and written to file only when the next a record that is not a HprofRecord.HeapDumpRecord is written or when close is called.
Properties
hprofHeader
Link copied to clipboard
hprofVersion
Link copied to clipboard
identifierByteSize
Link copied to clipboard