The (supported) Generation hierarchy currently looks like this:
| Modifier and Type | Field and Description |
|---|---|
| protected static final int | |
| private static long | |
| private static long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public abstract long | |
| public abstract long | contiguousAvailable()
The largest number of contiguous free words in the generation, including expansion. |
| public abstract long | |
| private static synchronized void | |
| public boolean | |
| public abstract void | |
| public abstract String | |
| public void | |
| public abstract void | |
| public MemRegion | |
| public abstract long | |
| public MemRegion | |
| protected VirtualSpace |
| K | back to summary |
|---|---|
| protected static final int K | |
| reservedFieldOffset | back to summary |
|---|---|
| private static long reservedFieldOffset | |
| virtualSpaceFieldOffset | back to summary |
|---|---|
| private static long virtualSpaceFieldOffset | |
| Generation | back to summary |
|---|---|
| public Generation(Address addr) | |
| capacity | back to summary |
|---|---|
| public abstract long capacity() The maximum number of object bytes the generation can currently hold. | |
| contiguousAvailable | back to summary |
|---|---|
| public abstract long contiguousAvailable() The largest number of contiguous free words in the generation, including expansion. (VM's version assumes it is called at a safepoint.) | |
| free | back to summary |
|---|---|
| public abstract long free() The number of free bytes in the gen. | |
| initialize | back to summary |
|---|---|
| private static synchronized void initialize(TypeDataBase db) | |
| isInReserved | back to summary |
|---|---|
| public boolean isInReserved(Address p) Returns "TRUE" iff "p" points into the reserved area of the generation. | |
| liveRegionsIterate | back to summary |
|---|---|
| public abstract void liveRegionsIterate(LiveRegionsClosure closure) Iteration - do not use for time critical operations | |
| name | back to summary |
|---|---|
| public abstract String name() | |
| back to summary | |
|---|---|
| public void print() | |
| printOn | back to summary |
|---|---|
| public abstract void printOn(PrintStream tty) | |
| reserved | back to summary |
|---|---|
| public MemRegion reserved() | |
| used | back to summary |
|---|---|
| public abstract long used() The number of used bytes in the gen. | |
| usedRegion | back to summary |
|---|---|
| public MemRegion usedRegion() Returns a region guaranteed to contain all the objects in the generation. | |
| virtualSpace | back to summary |
|---|---|
| protected VirtualSpace virtualSpace() | |