Class LongObjectRecord
java.lang.Object
com.ibm.jvm.dtfjview.heapdump.portable.PortableHeapDumpRecord
com.ibm.jvm.dtfjview.heapdump.portable.ObjectRecord
com.ibm.jvm.dtfjview.heapdump.portable.LongObjectRecord
- Direct Known Subclasses:
ObjectArrayRecord
-
Field Summary
Fields declared in class ObjectRecord
_classAddress, _hashCode, _is32BitHashModifier and TypeFieldDescriptionprotected final longprotected final intprotected final booleanFields declared in class PortableHeapDumpRecord
_baseAddress, _gapPreceding, _gapSize, _numberOfReferences, _referenceFieldSize, _references, ADDRESS_SHIFT_SIZE, EIGHT_BYTE_REF, FOUR_BYTE_REF, ONE_BYTE_REF, TWO_BYTE_REFModifier and TypeFieldDescriptionprotected final longAddress diff-addresses are based fromprotected final longprotected final byteprotected intprotected final byteprotected final ReferenceIteratorstatic final intstatic final bytestatic final bytestatic final bytestatic final byte -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedLongObjectRecord(byte tag, long address, long previousAddress, long classAddress, int hashCode, ReferenceIterator references, boolean is64Bit, boolean is32BitHash) Alternative constructor for use by object array record - the structure of that record is essentially identical with a different tag.LongObjectRecord(long address, long previousAddress, long classAddress, int hashCode, ReferenceIterator references, boolean is64Bit, boolean is32BitHash) -
Method Summary
Methods declared in class ObjectRecord
getObjectRecord, isShortObjectEligibleModifier and TypeMethodDescriptionstatic ObjectRecordgetObjectRecord(long address, long previousAddress, long classAddress, int hashCode, ReferenceIterator references, PortableHeapDumpClassCache cache, boolean is64Bit, boolean is32BitHash) Static factory method to pick the appropriate factory methodprotected static booleanisShortObjectEligible(long current, long previous) Methods declared in class PortableHeapDumpRecord
getAddressDifference, getDifferenceReferences, sizeofReference, writeReference, writeReferencesModifier and TypeMethodDescriptionprotected static longgetAddressDifference(long address, long base) protected ReferenceIteratorgetDifferenceReferences(ReferenceIterator input, long base) protected static bytesizeofReference(long reference) protected voidwriteReference(DataOutput dos, byte size, long reference) protected final void
-
Constructor Details
-
LongObjectRecord
public LongObjectRecord(long address, long previousAddress, long classAddress, int hashCode, ReferenceIterator references, boolean is64Bit, boolean is32BitHash) -
LongObjectRecord
protected LongObjectRecord(byte tag, long address, long previousAddress, long classAddress, int hashCode, ReferenceIterator references, boolean is64Bit, boolean is32BitHash) Alternative constructor for use by object array record - the structure of that record is essentially identical with a different tag.
-
-
Method Details
-
writeHeapDump
- Throws:
IOException
-