|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jikesrvm.adaptive.controller.RecompilationChoice
abstract class RecompilationChoice
A recompilation choice represents an action (or a set of actions) that can be considered by the controller's analytic model.
Constructor Summary | |
---|---|
RecompilationChoice()
|
Method Summary | |
---|---|
(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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
RecompilationChoice()
Method Detail |
---|
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
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |