Module openj9.dtfj

Class GCScavengerForwardedHeader


  • public abstract class GCScavengerForwardedHeader
    extends Object
    • Field Detail

      • objectPointer

        protected com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer objectPointer
    • Constructor Detail

      • GCScavengerForwardedHeader

        protected GCScavengerForwardedHeader​(com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer object)
    • Method Detail

      • fromJ9Object

        public static GCScavengerForwardedHeader fromJ9Object​(com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer object)
                                                       throws CorruptDataException
        Factory method to construct an appropriate scavenger forwarded header
        Parameters:
        object - the "J9Object" structure to view as a ScavengerForwardedHeader
        Returns:
        an instance of GCScavengerForwardedHeader
        Throws:
        CorruptDataException
      • isForwardedPointer

        public abstract boolean isForwardedPointer()
                                            throws CorruptDataException
        Determine if the current object is forwarded.
        Returns:
        true if the current object is forwarded, false otherwise
        Throws:
        CorruptDataException
      • isReverseForwardedPointer

        public abstract boolean isReverseForwardedPointer()
                                                   throws CorruptDataException
        Determine if the current object is a reverse forwarded object.
        Returns:
        true if the current object is reverse forwarded, false otherwise
        Throws:
        CorruptDataException
      • getForwardedObject

        public abstract com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer getForwardedObject()
                                                                                         throws CorruptDataException
        If the object has been forwarded, return the forwarded version of the object, otherwise return NULL.
        Returns:
        the forwarded version of this object or NULL
        Throws:
        CorruptDataException
      • getReverseForwardedPointer

        public abstract com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer getReverseForwardedPointer()
                                                                                                 throws CorruptDataException
        Get the reverse forwarded pointer for this object.
        Returns:
        the reverse forwarded value
        Throws:
        CorruptDataException
      • getObject

        public com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer getObject()
        Returns:
        the object pointer represented by the receiver