Package | Description |
---|---|
org.jikesrvm.adaptive.controller | |
org.jikesrvm.adaptive.util |
Modifier and Type | Field and Description |
---|---|
private LinkedList<ControllerPlan> |
ControllerPlan.planList
The list that we are onstatus of this plan
|
private static ImmutableEntryHashMapRVM<RVMMethod,LinkedList<ControllerPlan>> |
ControllerMemory.table
This is a hashtable of controller plans indexed by RVMMethod.
|
Modifier and Type | Method and Description |
---|---|
private ControllerPlan |
AnalyticModel.chooseOSRRecompilation(HotMethodEvent hme) |
(package private) ControllerPlan |
RecompilationStrategy.considerHotMethod(CompiledMethod cmpMethod,
HotMethodEvent hme) |
(package private) ControllerPlan |
AnalyticModel.considerHotMethod(CompiledMethod cmpMethod,
HotMethodEvent hme)
This method is the main decision making loop for all
recompilation strategies that use the analytic model.
|
(package private) ControllerPlan |
RecompilationStrategy.createControllerPlan(RVMMethod method,
int optLevel,
InstrumentationPlan instPlan,
int prevCMID,
double expectedSpeedup,
double expectedCompilationTime,
double priority)
This helper method creates a ControllerPlan, which contains a
CompilationPlan, for the passed method using the passed optimization
level and instrumentation plan.
|
static ControllerPlan |
ControllerMemory.findLatestPlan(RVMMethod method)
Looks for the last controller plan for the passed method
|
static ControllerPlan |
ControllerMemory.findMatchingPlan(CompiledMethod cmpMethod)
Find the plan for the compiled method that is passed
|
(package private) ControllerPlan |
RecompileOptChoice.makeControllerPlan(CompiledMethod cmpMethod,
int prevCompiler,
double prevTimeForMethod,
double bestActionTime,
double expectedCompilationTime)
Return a controller plan that will start this recompilation choice
in action.
|
(package private) abstract ControllerPlan |
RecompilationChoice.makeControllerPlan(CompiledMethod cmpMethod,
int prevCompiler,
double prevTimeFormethod,
double bestActionTime,
double bestCost)
Return a controller plan that will start this recompilation choice
in action.
|
Modifier and Type | Method and Description |
---|---|
private static LinkedList<ControllerPlan> |
ControllerMemory.findPlan(RVMMethod method)
Looks for a controller plan for the passed method
|
Modifier and Type | Method and Description |
---|---|
(package private) boolean |
RecompilationStrategy.considerForRecompilation(HotMethodEvent hme,
ControllerPlan plan)
Should we consider the hme for recompilation?
|
(package private) boolean |
AnalyticModel.considerOSRRecompilation(CompiledMethod cmpMethod,
HotMethodEvent hme,
ControllerPlan plan) |
(package private) static void |
ControllerMemory.insert(ControllerPlan plan)
Inserts a controller plan keyed on the underlying method
|
Modifier and Type | Method and Description |
---|---|
void |
ControllerPlan.setPlanList(LinkedList<ControllerPlan> list) |
Modifier and Type | Method and Description |
---|---|
void |
AOSLogging.recordOSRRecompilationDecision(ControllerPlan plan)
This method logs the successful completion of an adaptively
selected recompilation
|