A ContiguousSpace describes a heap area.
Invariant: bottom() and end() are on page_size boundaries and:
bottom() <= top() <= end()
top() is inclusive and end() is exclusive.
| Modifier and Type | Field and Description |
|---|---|
| private static AddressField | |
| private static AddressField | |
| private static AddressField |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Address | |
| public OopHandle | bottomAsOopHandle()
Support for iteration over heap -- not sure how this will interact with GC in reflective system, but necessary for the debugging mechanism |
| public long | |
| public boolean | |
| public Address | |
| public long | |
| public List | getLiveRegions()
Implements sun. Returns regions of Space where live objects live |
| private static synchronized void | |
| public OopHandle | nextOopHandle(OopHandle handle, long size)
Support for iteration over heap -- not sure how this will interact with GC in reflective system, but necessary for the debugging mechanism |
| public void | |
| public void | |
| public Address | |
| public long | |
| public MemRegion |
| bottomField | back to summary |
|---|---|
| private static AddressField bottomField | |
| endField | back to summary |
|---|---|
| private static AddressField endField | |
| topField | back to summary |
|---|---|
| private static AddressField topField | |
| ContiguousSpace | back to summary |
|---|---|
| public ContiguousSpace(Address addr) | |
| bottom | back to summary |
|---|---|
| public Address bottom() | |
| bottomAsOopHandle | back to summary |
|---|---|
| public OopHandle bottomAsOopHandle() Support for iteration over heap -- not sure how this will interact with GC in reflective system, but necessary for the debugging mechanism | |
| capacity | back to summary |
|---|---|
| public long capacity() Returned value is in bytes | |
| contains | back to summary |
|---|---|
| public boolean contains(Address p) Testers | |
| end | back to summary |
|---|---|
| public Address end() | |
| free | back to summary |
|---|---|
| public long free() | |
| getLiveRegions | back to summary |
|---|---|
| public List Implements sun. Returns regions of Space where live objects live | |
| initialize | back to summary |
|---|---|
| private static synchronized void initialize(TypeDataBase db) | |
| nextOopHandle | back to summary |
|---|---|
| public OopHandle nextOopHandle(OopHandle handle, long size) Support for iteration over heap -- not sure how this will interact with GC in reflective system, but necessary for the debugging mechanism | |
| back to summary | |
|---|---|
| public void print() | |
| printOn | back to summary |
|---|---|
| public void printOn(PrintStream tty) | |
| top | back to summary |
|---|---|
| public Address top() | |
| used | back to summary |
|---|---|
| public long used() | |
| usedRegion | back to summary |
|---|---|
| public MemRegion usedRegion() In a contiguous space we have a more obvious bound on what parts contain objects. | |