public 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 ImageHeapObjectpublic HostedClass getClazz()
public long getOffset()
getOffset in interface ImageHeapObjectpublic void setOffsetInPartition(long value)
setOffsetInPartition in interface ImageHeapObjectpublic ImageHeapPartition getPartition()
getPartition in interface ImageHeapObjectpublic void setHeapPartition(ImageHeapPartition value)
setHeapPartition in interface ImageHeapObjectpublic 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