public class HeapRegion extends CompactibleSpace
Constructor and Description |
---|
HeapRegion(Address addr) |
Modifier and Type | Method and Description |
---|---|
long |
free()
Returned value is in bytes
|
java.util.List |
getLiveRegions()
returns all MemRegions where live objects are
|
static long |
grainBytes() |
Address |
top() |
long |
used()
Returned value is in bytes
|
compactionTop
bottom, bottomAsOopHandle, capacity, contains, end, nextOopHandle, print, printOn, usedRegion
equals, getAddress, hashCode, toString
public HeapRegion(Address addr)
public static long grainBytes()
public Address top()
public java.util.List getLiveRegions()
Space
getLiveRegions
in class Space
public long used()
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.