case Option.INT_OPTION: VM.sysWriteln(((IntOption)o).getValue()); break; case Option.FLOAT_OPTION: VM.sysWriteln(((FloatOption)o).getValue()); break; case Option.MICROSECONDS_OPTION: VM.sysWrite(((MicrosecondsOption)o).getMicroseconds()); VM.sysWriteln(" usec"); break; case Option.PAGES_OPTION: VM.sysWrite(((PagesOption)o).getBytes()); VM.sysWriteln(" bytes"); break; case Option.STRING_OPTION: VM.sysWriteln(((StringOption)o).getValue()); break;
case Option.INT_OPTION: VM.sysWriteln(((IntOption) o).getValue()); break; case Option.ADDRESS_OPTION: VM.sysWriteln(((AddressOption) o).getValue()); break; case Option.FLOAT_OPTION: VM.sysWriteln(((FloatOption) o).getValue()); break; case Option.MICROSECONDS_OPTION: VM.sysWrite(((MicrosecondsOption) o).getMicroseconds()); VM.sysWriteln(" usec"); break; case Option.PAGES_OPTION: VM.sysWrite(((PagesOption) o).getBytes()); VM.sysWriteln(" bytes"); break; case Option.STRING_OPTION: VM.sysWriteln(((StringOption) o).getValue()); break;
  public static void printOptions() {    VM.sysWriteln("Current value of GC options");    Option o = Option.getFirst();    while (o != null) {      if (o.getType() == Option.BOOLEAN_OPTION) {        String key = o.getKey();        VM.sysWrite("\t");        VM.sysWrite(key);        for (int c = key.length(); c<31;c++) {          VM.sysWrite(" ");        }        VM.sysWrite(" = ");        VM.sysWriteln(((BooleanOption)o).getValue());      }      o = o.getNext();    }    o = Option.getFirst();    while (o != null) {      if (o.getType() != Option.BOOLEAN_OPTION &&          o.getType() != Option.ENUM_OPTION) {        String key = o.getKey();        VM.sysWrite("\t");        VM.sysWrite(key);        for (int c = key.length(); c<31;c++) {          VM.sysWrite(" ");        }        VM.sysWrite(" = ");        switch (o.getType()) {          case Option.INT_OPTION:            VM.sysWriteln(((IntOption)o).getValue());             break;          case Option.FLOAT_OPTION:            VM.sysWriteln(((FloatOption)o).getValue());             break;          case Option.MICROSECONDS_OPTION:            VM.sysWrite(((MicrosecondsOption)o).getMicroseconds());             VM.sysWriteln(" usec");            break;          case Option.PAGES_OPTION:            VM.sysWrite(((PagesOption)o).getBytes());            VM.sysWriteln(" bytes");            break;          case Option.STRING_OPTION:            VM.sysWriteln(((StringOption)o).getValue());             break;        }      }      o = o.getNext();    }    o = Option.getFirst();    while (o != null) {      if (o.getType() == Option.ENUM_OPTION) {        String key = o.getKey();        VM.sysWrite("\t");        VM.sysWrite(key);        for (int c = key.length(); c<31;c++) {          VM.sysWrite(" ");        }        VM.sysWrite(" = ");        VM.sysWriteln(((EnumOption)o).getValueString());      }      o = o.getNext();    }  }