abstract class RecompilationChoice extends Object
Constructor and Description |
---|
RecompilationChoice() |
Modifier and Type | Method and Description |
---|---|
(package private) abstract double |
getCost(NormalMethod meth)
What is the cost of selecting this recompilation choice?
|
(package private) abstract double |
getFutureExecutionTime(int prevCompiler,
double futureExecutionTime)
What is the benefit of executing this recompilation choice, given
the estimated future time for the method if nothing changes?
|
(package private) abstract ControllerPlan |
makeControllerPlan(CompiledMethod cmpMethod,
int prevCompiler,
double prevTimeFormethod,
double bestActionTime,
double bestCost)
Return a controller plan that will start this recompilation choice
in action.
|
RecompilationChoice()
abstract double getCost(NormalMethod meth)
meth
- The method being considered for recompilation.abstract double getFutureExecutionTime(int prevCompiler, double futureExecutionTime)
prevCompiler
- The previous compilerfutureExecutionTime
- The expected future execution time of
the method if left running with the previous compiler.abstract ControllerPlan makeControllerPlan(CompiledMethod cmpMethod, int prevCompiler, double prevTimeFormethod, double bestActionTime, double bestCost)
cmpMethod
- The method in questionprevCompiler
- The previous compilerprevTimeFormethod
- The estimated future time had nothing been donebestActionTime
- The estimated total time implementing this choicebestCost
- The estimated compilation cost implementing this choice