public static final class NativeImageHeap.ObjectInfo extends Object implements ImageHeapObject
ImageHeapObject.SizeComparator| 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 offset)
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 |
getOffsetInPartition()
The offset of an object within a partition.
|
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 getOffsetInPartition()
NativeImageHeap.ObjectInfo.getAddress().getOffsetInPartition in interface ImageHeapObjectpublic void setOffsetInPartition(long value)
setOffsetInPartition in interface ImageHeapObjectpublic int getIndexInBuffer(long index)
RelocatableBuffer to which this object is written.public long getAddress()
public long getAddress(long offset)
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 ImageHeapObjectpublic ImageHeapPartition getPartition()
getPartition in interface ImageHeapObjectpublic void setHeapPartition(ImageHeapPartition value)
setHeapPartition in interface ImageHeapObject