|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jikesrvm.compilers.common.BootImageCompiler org.jikesrvm.compilers.opt.driver.OptimizingBootImageCompiler
public final class OptimizingBootImageCompiler
Use optimizing compiler to build virtual machine boot image.
Field Summary | |
---|---|
private String |
excludePattern
If excludePattern is null , all methods are opt-compiled (or attempted). |
private OptOptions |
masterOptions
|
private Vector<Boolean> |
optimizationPlanLocks
|
private Vector<OptimizationPlanElement[]> |
optimizationPlans
|
private Vector<OptOptions> |
options
|
Fields inherited from class org.jikesrvm.compilers.common.BootImageCompiler |
---|
baseCompiler, compiler, optCompiler |
Constructor Summary | |
---|---|
OptimizingBootImageCompiler()
|
Method Summary | |
---|---|
private CompiledMethod |
baselineCompile(NormalMethod method)
|
protected CompiledMethod |
compileMethod(NormalMethod method,
TypeReference[] params)
Compile a method with bytecodes. |
private int |
getFreeOptimizationPlan()
Return an optimization plan that isn't in use |
protected void |
initCompiler(String[] args)
Initialize boot image compiler. |
private boolean |
match(RVMMethod method)
|
private void |
releaseOptimizationPlan(int plan)
Release an optimization plan |
Methods inherited from class org.jikesrvm.compilers.common.BootImageCompiler |
---|
compile, compile, compile, init |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final Vector<OptimizationPlanElement[]> optimizationPlans
private final Vector<Boolean> optimizationPlanLocks
private final Vector<OptOptions> options
private final OptOptions masterOptions
private String excludePattern
null
, all methods are opt-compiled (or attempted).
Otherwise, methods that match the pattern are not opt-compiled.
In any case, the class OptSaveVolatile is always opt-compiled.
Constructor Detail |
---|
public OptimizingBootImageCompiler()
Method Detail |
---|
private boolean match(RVMMethod method)
protected void initCompiler(String[] args)
BootImageCompiler
initCompiler
in class BootImageCompiler
args
- command line arguments to the bootimage compilerprotected CompiledMethod compileMethod(NormalMethod method, TypeReference[] params)
BootImageCompiler
compileMethod
in class BootImageCompiler
method
- the method to compile
private CompiledMethod baselineCompile(NormalMethod method)
private int getFreeOptimizationPlan()
private void releaseOptimizationPlan(int plan)
plan
- an optimization plan
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |