Module heap_dump

Source
Expand description

Sub records contained in crate::HeapDumpSegment records.

§Performance

Since sub records do not have a length prefix like records do, they cannot be almost entirely lazily parsed – the contents of the sub record must be parsed to know how long a sub record is. That said, it is still reasonably fast at approximately 1GiB/s per core, and there is room to make parsing lazier should the need arise.

Structs§

Class
Analogous to a java.lang.Class object.
FieldDescriptor
The name and type of an instance field.
FieldDescriptors
Iterator over FieldDescriptors.
GcRootBusyMonitor
GcRootJavaStackFrame
GcRootJniGlobal
GcRootJniLocalRef
GcRootNativeStack
GcRootSystemClass
GcRootThreadBlock
GcRootThreadObj
GcRootUnknown
Instance
An instance of a reference type (i.e. not a primitive).
NullableIds
Iterator over object ids that may be null, represented as Option<Id>.
ObjectArray
An array of anything other than a primitive type.
PrimitiveArray
An array of JVM primitive types (int, long, and so forth).
StaticFieldEntries
Iterator over StaticFieldEntry for a Class.
StaticFieldEntry
The field type and value for a static field in a Class.

Enums§

FieldType
FieldValue
PrimitiveArrayType
SubRecord