org.jikesrvm.adaptive.recompilation
Class PreCompile
java.lang.Object
org.jikesrvm.adaptive.recompilation.PreCompile
- All Implemented Interfaces:
- Callbacks.StartupMonitor
public class PreCompile
- extends Object
- implements Callbacks.StartupMonitor
Utilities for providing compiler advice. Advice files provided
at run time allow compilers to be specified for particular methods
Run time advice is given by identifying an advice file
through a command line option:
-X:aos:compiler_advice_file=path-to-advice-file.
- See Also:
CompilerAdviceAttribute,
CompilerAdviceInfoReader,
RuntimeCompiler
|
Method Summary |
static void |
compileAllMethods()
Compile all methods in the advice file |
static void |
init()
|
void |
notifyStartup()
Notify the monitor that the VM has started up. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PreCompile
public PreCompile()
init
public static void init()
notifyStartup
public void notifyStartup()
- Description copied from interface:
Callbacks.StartupMonitor
- Notify the monitor that the VM has started up.
- Specified by:
notifyStartup in interface Callbacks.StartupMonitor
compileAllMethods
public static void compileAllMethods()
- Compile all methods in the advice file