public class LinearImageHeapPartition extends AbstractImageHeapLayouter.AbstractImageHeapPartition
Modifier and Type | Method and Description |
---|---|
void |
addPadding(long padding)
Adds some padding to the end of the partition.
|
void |
allocate(ImageHeapObject info)
Reserves sufficient memory in this partition for the given object.
|
long |
getSize()
Returns the size of the partition (i.e., the sum of all allocated objects + some overhead).
|
getName, getOffsetInSection, getSectionName, isWritable, setSection, toString
public long getSize()
ImageHeapPartition
public void allocate(ImageHeapObject info)
ImageHeapPartition
public void addPadding(long padding)
ImageHeapPartition