org.mmtk.utility.options
Class BoundedNursery

java.lang.Object
  extended by org.vmutil.options.Option
      extended by org.vmutil.options.PagesOption
          extended by org.mmtk.utility.options.BoundedNursery

public final class BoundedNursery
extends PagesOption

Provide an upper bound on nursery size. This option is not intended to be created directly, but via NurserySize.


Field Summary
 
Fields inherited from class org.vmutil.options.PagesOption
defaultValue, value
 
Fields inherited from class org.vmutil.options.Option
ADDRESS_OPTION, BOOLEAN_OPTION, ENUM_OPTION, FLOAT_OPTION, INT_OPTION, MICROSECONDS_OPTION, PAGES_OPTION, RAW, READABLE, set, STRING_OPTION, XML
 
Constructor Summary
BoundedNursery()
          Create the option.
 
Method Summary
protected  void validate()
          Nursery can not be empty.
 
Methods inherited from class org.vmutil.options.PagesOption
getBytes, getDefaultBytes, getDefaultPages, getPages, setBytes, setDefaultPages, setPages
 
Methods inherited from class org.vmutil.options.Option
fail, failIf, getDescription, getKey, getName, getNext, getType, warn, warnIf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BoundedNursery

public BoundedNursery()
Create the option.

Method Detail

validate

protected void validate()
Nursery can not be empty.

Overrides:
validate in class Option