|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jikesrvm.osr.SpecialCompiler
public class SpecialCompiler
SpecialCompiler is a wrapper for compiling specialized byte code. It accepts an instance of ExecutionState, generates the specialized byte code, and compiles it to machine code instructions.
Constructor Summary | |
---|---|
SpecialCompiler()
|
Method Summary | |
---|---|
static CompiledMethod |
baselineCompile(ExecutionState state)
Compiles the method with the baseline compiler. |
static CompiledMethod |
optCompile(ExecutionState state)
generate prologue PSEUDO_bytecode from the state. |
static CompiledMethod |
recompileState(ExecutionState state,
boolean invalidate)
recompile an execution state |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SpecialCompiler()
Method Detail |
---|
public static CompiledMethod recompileState(ExecutionState state, boolean invalidate)
state
- a list of execution statesinvalidate
- Is this an invalidation?
public static CompiledMethod baselineCompile(ExecutionState state)
NOTE: this is different from optCompile which resets the bytecode after compilation. I believe this minimizes the work to change both compilers.
state
-
public static CompiledMethod optCompile(ExecutionState state)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |