A GcRoot as identified by HprofRecord.HeapDumpRecord.GcRootRecord in the heap dump.
An opened Hprof file which can be read via reader. Open a new hprof with open, and don’t forget to call close once done.
Converts a Hprof file to another file with all primitive arrays replaced with arrays of zeroes, which can be useful to remove PII. Char arrays are handled slightly differently because 0 would be the null character so instead these become arrays of ‘?’.
Reads hprof content from an Okio BufferedSource.
A Hprof record. These data structure map 1:1 with how records are written in hprof files.
Generates Hprof files.
Listener passed in to HprofReader.readHprofRecords, gets notified for each HprofRecord found in the heap dump which types is in the set of the recordTypes parameter passed to HprofReader.readHprofRecords.
A primitive type in the prof.
A value in the heap dump, which can be a ReferenceHolder or a primitive type.