public class GreedyInliningPolicy extends AbstractInliningPolicy
| Modifier and Type | Field and Description |
|---|---|
private static DebugMetric |
metricInliningStoppedByMaxDesiredSize |
CapInheritedRelevance, hints, RelevanceCapForInlining| Constructor and Description |
|---|
GreedyInliningPolicy(Map<Invoke,Double> hints) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
continueInlining(StructuredGraph currentGraph) |
boolean |
isWorthInlining(Replacements replacements,
MethodInvocation invocation,
int inliningDepth,
boolean fullyProcessed) |
computeMaximumSize, determineInvokeProbability, getInliningBonus, isIntrinsic, previousLowLevelGraphSizeprivate static final DebugMetric metricInliningStoppedByMaxDesiredSize
public GreedyInliningPolicy(Map<Invoke,Double> hints)
public boolean continueInlining(StructuredGraph currentGraph)
public boolean isWorthInlining(Replacements replacements, MethodInvocation invocation, int inliningDepth, boolean fullyProcessed)