class MultiLevelAdaptiveModel extends AnalyticModel
| Modifier and Type | Field and Description |
|---|---|
protected RecompileOptChoice[] |
allOptLevelChoices
List of all opt-level choices that can be considered by the
cost-benefit model
|
protected RecompilationChoice[] |
earlyViableChoices
Normally, we will be profiling call edges to build a dynamic call graph.
|
protected RecompilationChoice[][] |
viableChoices
Keep a map from previous compiler to a set of recompilation
choices.
|
| Constructor and Description |
|---|
MultiLevelAdaptiveModel() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createViableOptionLookupTable(int maxCompiler)
Setup a lookup table that maps a "previous compiler" to a set
of viable recompilation choices.
|
(package private) RecompilationChoice[] |
getViableRecompilationChoices(int prevCompiler,
CompiledMethod cmpMethod)
Computes the set of optimization choices that should be
considered by the cost-benefit model, given the previous compiler.
|
(package private) void |
populateRecompilationChoices()
Initialize the set of "optimization choices" that the
cost-benefit model will consider.
|
considerHotCallEdge, considerHotMethod, considerOSRRecompilation, futureTimeForMethod, initconsiderForRecompilation, createCompilationPlan, createControllerPlan, createOptimizationPlans, getMaxOptLevel, getPreviousCompiler, previousRecompilationAttempted, processCommandLineOptionsprotected RecompileOptChoice[] allOptLevelChoices
protected RecompilationChoice[][] viableChoices
protected RecompilationChoice[] earlyViableChoices
MultiLevelAdaptiveModel()
void populateRecompilationChoices()
populateRecompilationChoices in class AnalyticModelRecompilationChoice[] getViableRecompilationChoices(int prevCompiler, CompiledMethod cmpMethod)
AnalyticModelgetViableRecompilationChoices in class AnalyticModelprevCompiler - The compiler compiler that was used to
compile cmpMethodcmpMethod - The compiled method being consideredprotected void createViableOptionLookupTable(int maxCompiler)
maxCompiler - the maximum compiler that we want to consider
(e.g. the highest optimization level).