public class DefNewGeneration extends Generation
Generation.Name, Generation.StatRecord
Modifier and Type | Field and Description |
---|---|
protected static AddressField |
edenSpaceField |
protected static AddressField |
fromSpaceField |
protected static AddressField |
toSpaceField |
K
Constructor and Description |
---|
DefNewGeneration(Address addr) |
Modifier and Type | Method and Description |
---|---|
long |
capacity()
The maximum number of object bytes the generation can currently
hold.
|
long |
contiguousAvailable()
The largest number of contiguous free words in the generation,
including expansion.
|
EdenSpace |
eden() |
long |
free()
The number of free bytes in the gen.
|
ContiguousSpace |
from() |
Generation.Name |
kind() |
java.lang.String |
name() |
void |
printOn(java.io.PrintStream tty) |
void |
spaceIterate(SpaceClosure blk,
boolean usedOnly)
Iteration - do not use for time critical operations
|
ContiguousSpace |
to() |
long |
used()
The number of used bytes in the gen.
|
invocations, isIn, isInReserved, level, print, reserved, spaceIterate, spec, usedRegion, virtualSpace
equals, getAddress, hashCode, toString
protected static AddressField edenSpaceField
protected static AddressField fromSpaceField
protected static AddressField toSpaceField
public DefNewGeneration(Address addr)
public Generation.Name kind()
kind
in class Generation
public EdenSpace eden()
public ContiguousSpace from()
public ContiguousSpace to()
public long capacity()
Generation
capacity
in class Generation
public long used()
Generation
used
in class Generation
public long free()
Generation
free
in class Generation
public long contiguousAvailable()
Generation
contiguousAvailable
in class Generation
public java.lang.String name()
name
in class Generation
public void spaceIterate(SpaceClosure blk, boolean usedOnly)
Generation
spaceIterate
in class Generation
public void printOn(java.io.PrintStream tty)
printOn
in class Generation
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.