public static final class NativeImageHeap.ObjectInfo extends Object implements ImageHeapObject
Modifier and Type | Method and Description |
---|---|
long |
getAddress()
If heap base addressing is enabled, this returns the heap-base relative address of this
object.
|
long |
getAddress(long delta)
Similar to
NativeImageHeap.ObjectInfo.getAddress() but this method is typically used to get the address of
a field within an object. |
HostedClass |
getClazz() |
int |
getIndexInBuffer(long index)
Returns the index into the
RelocatableBuffer to which this object is written. |
Object |
getObject() |
long |
getOffset() |
ImageHeapPartition |
getPartition() |
long |
getSize() |
void |
setHeapPartition(ImageHeapPartition value) |
void |
setOffsetInPartition(long value) |
String |
toString() |
public Object getObject()
getObject
in interface ImageHeapObject
public HostedClass getClazz()
public long getOffset()
getOffset
in interface ImageHeapObject
public void setOffsetInPartition(long value)
setOffsetInPartition
in interface ImageHeapObject
public ImageHeapPartition getPartition()
getPartition
in interface ImageHeapObject
public void setHeapPartition(ImageHeapPartition value)
setHeapPartition
in interface ImageHeapObject
public int getIndexInBuffer(long index)
RelocatableBuffer
to which this object is written.public long getAddress()
public long getAddress(long delta)
NativeImageHeap.ObjectInfo.getAddress()
but this method is typically used to get the address of
a field within an object.public long getSize()
getSize
in interface ImageHeapObject