Class GCScavengerForwardedHeader
java.lang.Object
com.ibm.j9ddr.vm29.j9.gc.GCScavengerForwardedHeader
-
Field Summary
Modifier and TypeFieldDescriptionprotected com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer
-
Constructor Summary
ModifierConstructorDescriptionprotected
GCScavengerForwardedHeader
(com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer object) -
Method Summary
Modifier and TypeMethodDescriptionstatic GCScavengerForwardedHeader
fromJ9Object
(com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer object) Factory method to construct an appropriate scavenger forwarded headerabstract 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.
-
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
Determine if the current object is forwarded.- Returns:
- true if the current object is forwarded, false otherwise
- Throws:
CorruptDataException
-
isReverseForwardedPointer
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 CorruptDataExceptionIf 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 CorruptDataExceptionGet 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
- Throws:
CorruptDataException
-