|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jikesrvm.compilers.baseline.BaselineOptions
public final class BaselineOptions
Class to handle command-line arguments and options for the baseline compiler.
Note: This file is mechanically generated from BaselineOptions.template and MasterOptions.template
Note: Boolean options are defined in /home/dgrove/rvm-trunk/rvm/src-generated/options/BooleanOptions.baseline.dat /home/dgrove/rvm-trunk/rvm/src-generated/options/SharedBooleanOptions.dat All other options are defined in /home/dgrove/rvm-trunk/rvm/src-generated/options/ValueOptions.baseline.dat /home/dgrove/rvm-trunk/rvm/src-generated/options/SharedValueOptions.dat (value, enumeration, bitmask)
Field Summary | |
---|---|
boolean |
INVOCATION_COUNTERS
Select methods for optimized recompilation by using invocation counters |
private HashSet<String> |
METHOD_TO_PRINT
Only apply print options against methods whose name contains this string |
boolean |
PRINT_MACHINECODE
Print final machine code |
boolean |
PRINT_METHOD
Print method name at start of compilation |
String |
PROFILE_EDGE_COUNTER_FILE
File into which to dump edge counter data |
boolean |
PROFILE_EDGE_COUNTERS
Insert edge counters on all bytecode-level conditional branches |
Constructor Summary | |
---|---|
BaselineOptions()
|
Method Summary | |
---|---|
Object |
clone()
|
BaselineOptions |
dup()
|
boolean |
fuzzyMatchMETHOD_TO_PRINT(String q)
Does the given parameter appear within a set the String of one of the options? |
Iterator<String> |
getMETHOD_TO_PRINTs()
Return an iterator over the items in METHOD_TO_PRINT |
boolean |
hasMETHOD_TO_PRINT()
Have any items been placed in the set METHOD_TO_PRINT? |
private static void |
instancePrintHelpFooter(String prefix)
|
private static void |
instancePrintHelpHeader(String prefix)
|
private boolean |
instanceProcessAsOption(String arg)
|
boolean |
isMETHOD_TO_PRINT(String q)
Has the given parameter been added to METHOD_TO_PRINT set of options? |
static void |
printHelp(String prefix)
Print a short description of every option |
void |
printOptions()
print a String value of this options object |
private void |
printOptionsHeader()
|
boolean |
processAsOption(String prefix,
String arg)
Take a string (most likely a command-line argument) and try to proccess it as an option command. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public boolean PROFILE_EDGE_COUNTERS
public boolean INVOCATION_COUNTERS
public boolean PRINT_METHOD
public boolean PRINT_MACHINECODE
public String PROFILE_EDGE_COUNTER_FILE
private HashSet<String> METHOD_TO_PRINT
Constructor Detail |
---|
public BaselineOptions()
Method Detail |
---|
private void printOptionsHeader()
public boolean isMETHOD_TO_PRINT(String q)
public boolean fuzzyMatchMETHOD_TO_PRINT(String q)
public boolean hasMETHOD_TO_PRINT()
public Iterator<String> getMETHOD_TO_PRINTs()
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public BaselineOptions dup()
public boolean processAsOption(String prefix, String arg)
prefix
- a Sring to use as a command prefix when printing help.arg
- a String to try to process as an option command
public static void printHelp(String prefix)
public String toString()
toString
in class Object
public void printOptions()
private boolean instanceProcessAsOption(String arg)
private static void instancePrintHelpHeader(String prefix)
private static void instancePrintHelpFooter(String prefix)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |