public class ContiguousSpace extends CompactibleSpace
Constructor and Description |
---|
ContiguousSpace(Address addr) |
Modifier and Type | Method and Description |
---|---|
long |
capacity()
In bytes
|
boolean |
contains(Address p)
Testers
|
long |
free()
In bytes
|
java.util.List |
getLiveRegions()
Returns regions of Space where live objects live
|
void |
printOn(java.io.PrintStream tty) |
Address |
top() |
long |
used()
In bytes
|
MemRegion |
usedRegion()
In a contiguous space we have a more obvious bound on what parts
contain objects.
|
compactionTop
bottom, bottomAsOopHandle, end, nextOopHandle, print
equals, getAddress, hashCode, toString
public ContiguousSpace(Address addr)
public Address top()
public MemRegion usedRegion()
usedRegion
in class Space
public java.util.List getLiveRegions()
getLiveRegions
in class Space
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.