- 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
objectPointer
-
Constructor Summary
Constructors Modifier Constructor Description protected
GCScavengerForwardedHeader(com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer object)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static 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
getForwardedObject()
If the object has been forwarded, return the forwarded version of the object, otherwise return NULL.com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer
getObject()
abstract UDATA
getObjectSize()
abstract com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer
getReverseForwardedPointer()
Get the reverse forwarded pointer for this object.abstract boolean
isForwardedPointer()
Determine if the current object is forwarded.abstract boolean
isReverseForwardedPointer()
Determine if the current object is a reverse forwarded 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
-
getObjectSize
public abstract UDATA getObjectSize() throws CorruptDataException
- Throws:
CorruptDataException
-
-