org.jikesrvm.compilers.opt.driver
Class OptimizingBootImageCompiler
java.lang.Object
org.jikesrvm.compilers.common.BootImageCompiler
org.jikesrvm.compilers.opt.driver.OptimizingBootImageCompiler
public final class OptimizingBootImageCompiler
- extends BootImageCompiler
Use optimizing compiler to build virtual machine boot image.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
optimizationPlans
private final Vector<OptimizationPlanElement[]> optimizationPlans
optimizationPlanLocks
private final Vector<Boolean> optimizationPlanLocks
options
private final Vector<OptOptions> options
masterOptions
private final OptOptions masterOptions
excludePattern
private String excludePattern
OptimizingBootImageCompiler
public OptimizingBootImageCompiler()
match
private boolean match(RVMMethod method)
initCompiler
protected void initCompiler(String[] args)
- Initialize boot image compiler.
- Specified by:
initCompiler in class BootImageCompiler
- Parameters:
args - command line arguments to the bootimage compiler
compileMethod
protected CompiledMethod compileMethod(NormalMethod method,
TypeReference[] params)
- Compile a method with bytecodes.
- Specified by:
compileMethod in class BootImageCompiler
- Parameters:
method - the method to compile
- Returns:
- the compiled method
baselineCompile
private CompiledMethod baselineCompile(NormalMethod method)
getFreeOptimizationPlan
private int getFreeOptimizationPlan()
- Return an optimization plan that isn't in use
- Returns:
- optimization plan
releaseOptimizationPlan
private void releaseOptimizationPlan(int plan)
- Release an optimization plan
- Parameters:
plan - an optimization plan