public interface ImageHeapPartition
ImageHeapPartition
s. Every object in the native
image heap, is assigned to a position within a ImageHeapPartition
.Modifier and Type | Method and Description |
---|---|
void |
addPadding(long computePadding)
Adds some padding to the end of the partition.
|
void |
allocate(ImageHeapObject info)
Reserves sufficient memory in this partition for the given object.
|
String |
getName()
Returns the name of the partition.
|
long |
getOffsetInSection()
Returns the offset at which this partition will be placed in the specified ELF/PE/Mach-O
section.
|
String |
getSectionName()
Returns the name of the ELF/PE/Mach-O section to which this partition was assigned.
|
long |
getSize()
Returns the size of the partition (i.e., the sum of all allocated objects + some overhead).
|
boolean |
isWritable()
Returns true if the partition is writable.
|
void |
setSection(String sectionName,
long offsetInSection)
Sets the ELF/PE/Mach-O file position where this partition will be placed.
|
String getName()
boolean isWritable()
void allocate(ImageHeapObject info)
long getSize()
void addPadding(long computePadding)
void setSection(String sectionName, long offsetInSection)
String getSectionName()
long getOffsetInSection()