org.mmtk.utility.options
Class NurserySize
java.lang.Object
org.mmtk.utility.options.NurserySize
public final class NurserySize
- extends Object
A composite option that provides a min/max interface to MMTk,
and a fixed/bounded option interface to the VM/user.
Method Summary |
int |
getMaxNursery()
Read the upper bound of the nursery size. |
int |
getMinNursery()
Read the lower bound of the nursery size. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fixedNursery
private FixedNursery fixedNursery
boundedNursery
private BoundedNursery boundedNursery
NurserySize
public NurserySize()
- Create the options.
getMaxNursery
public int getMaxNursery()
- Read the upper bound of the nursery size.
- Returns:
- maximum number of pages in the nursery.
getMinNursery
public int getMinNursery()
- Read the lower bound of the nursery size.
- Returns:
- minimum number of pages in the nursery.