Class ObjectRecord

    • Field Detail

      • _hashCode

        protected final int _hashCode
      • _classAddress

        protected final long _classAddress
      • _is32BitHash

        protected final boolean _is32BitHash
    • Constructor Detail

      • ObjectRecord

        protected ObjectRecord​(long address,
                               long previousAddress,
                               long classAddress,
                               int hashCode,
                               ReferenceIterator references,
                               boolean is32BitHash)
    • Method Detail

      • isShortObjectEligible

        protected static boolean isShortObjectEligible​(long current,
                                                       long previous)
      • getObjectRecord

        public static ObjectRecord getObjectRecord​(long address,
                                                   long previousAddress,
                                                   long classAddress,
                                                   int hashCode,
                                                   ReferenceIterator references,
                                                   PortableHeapDumpClassCache cache,
                                                   boolean is64Bit,
                                                   boolean is32BitHash)
        Static factory method to pick the appropriate factory method
        Returns:
        ObjectRecord for this object