Class MCOldObject

    • Method Detail

      • getAddress

        public IQuantity getAddress()
        Description copied from interface: IMCOldObject
        The address of the object, used for identity purposes.
        Specified by:
        getAddress in interface IMCOldObject
        Returns:
        the address of the object
      • getReferrerArray

        public IMCOldObjectArray getReferrerArray()
        Description copied from interface: IMCOldObject
        If the object is referred to by an object in an array it returns the information about that array, otherwise it returns null.
        Specified by:
        getReferrerArray in interface IMCOldObject
        Returns:
        a representation of the array data for the object referring to this old object
      • getReferrerField

        public IMCOldObjectField getReferrerField()
        Description copied from interface: IMCOldObject
        If the object is referred to by an object in a field it returns a representation of the field, null otherwise.
        Specified by:
        getReferrerField in interface IMCOldObject
        Returns:
        a representation of the field that refers to this object
      • getDescription

        public String getDescription()
        Description copied from interface: IMCOldObject
        Returns a description of the object.
        Specified by:
        getDescription in interface IMCOldObject
        Returns:
        the object description
      • getReferrer

        public IMCOldObject getReferrer()
        Description copied from interface: IMCOldObject
        Returns the object that refers to this object in the heap reference chain.
        Specified by:
        getReferrer in interface IMCOldObject
        Returns:
        the object that refers to this object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getReferrerSkip

        public int getReferrerSkip()
        Description copied from interface: IMCOldObject
        Returns the number of steps away in the reference chain this object is from the next object referring to it. If this is greater than 0, it means that there are objects between this one and the referrer that were omitted when committing the traces to the Flight Recording file.
        Specified by:
        getReferrerSkip in interface IMCOldObject
        Returns:
        the number of steps between this object and the next one towards the root in the reference chain