Class GCScavengerForwardedHeader

java.lang.Object
com.ibm.j9ddr.vm29.j9.gc.GCScavengerForwardedHeader

public abstract class GCScavengerForwardedHeader extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    GCScavengerForwardedHeader(com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer object)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    fromJ9Object(com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer object)
    Factory method to construct an appropriate scavenger forwarded header
    abstract com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer
    If the object has been forwarded, return the forwarded version of the object, otherwise return NULL.
    com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer
     
    abstract UDATA
     
    abstract com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer
    Get the reverse forwarded pointer for this object.
    abstract boolean
    Determine if the current object is forwarded.
    abstract boolean
    Determine if the current object is a reverse forwarded object.

    Methods declared in class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • objectPointer

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

    • GCScavengerForwardedHeader

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

    • 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
    • getObjectSize

      public abstract UDATA getObjectSize() throws CorruptDataException
      Throws:
      CorruptDataException