org.mmtk.utility.options
Class NurserySize

java.lang.Object
  extended by 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.


Field Summary
private  BoundedNursery boundedNursery
           
private  FixedNursery fixedNursery
           
 
Constructor Summary
NurserySize()
          Create the options.
 
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
 

Field Detail

fixedNursery

private FixedNursery fixedNursery

boundedNursery

private BoundedNursery boundedNursery
Constructor Detail

NurserySize

public NurserySize()
Create the options.

Method Detail

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.