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. - Field
Descriptor - The name and type of an instance field.
- Field
Descriptors - Iterator over FieldDescriptors.
- GcRoot
Busy Monitor - GcRoot
Java Stack Frame - GcRoot
JniGlobal - GcRoot
JniLocal Ref - GcRoot
Native Stack - GcRoot
System Class - GcRoot
Thread Block - GcRoot
Thread Obj - GcRoot
Unknown - Instance
- An instance of a reference type (i.e. not a primitive).
- Nullable
Ids - Iterator over object ids that may be null, represented as
Option<Id>
. - Object
Array - An array of anything other than a primitive type.
- Primitive
Array - An array of JVM primitive types
(
int
,long
, and so forth). - Static
Field Entries - Iterator over StaticFieldEntry for a Class.
- Static
Field Entry - The field type and value for a static field in a Class.