public class HistogramInlineInvokePlugin extends Object implements InlineInvokePlugin
Modifier and Type | Class and Description |
---|---|
private static class |
HistogramInlineInvokePlugin.MethodStatistic |
private static class |
HistogramInlineInvokePlugin.MethodStatistics |
InlineInvokePlugin.InlineInfo
Modifier and Type | Field and Description |
---|---|
private HistogramInlineInvokePlugin.MethodStatistic |
currentStatistic |
private StructuredGraph |
graph |
private Map<ResolvedJavaMethod,HistogramInlineInvokePlugin.MethodStatistics> |
histogram |
Constructor and Description |
---|
HistogramInlineInvokePlugin(StructuredGraph graph) |
Modifier and Type | Method and Description |
---|---|
private void |
accept(HistogramInlineInvokePlugin.MethodStatistic current) |
private int |
countCalls() |
private int |
countNodes() |
private static boolean |
isNonTrivial(Node node) |
void |
notifyAfterInline(ResolvedJavaMethod methodToInline) |
void |
notifyBeforeInline(ResolvedJavaMethod methodToInline) |
void |
print(OptimizedCallTarget target) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
notifyNotInlined, shouldInlineInvoke
private final Map<ResolvedJavaMethod,HistogramInlineInvokePlugin.MethodStatistics> histogram
private final StructuredGraph graph
private HistogramInlineInvokePlugin.MethodStatistic currentStatistic
public HistogramInlineInvokePlugin(StructuredGraph graph)
public void notifyBeforeInline(ResolvedJavaMethod methodToInline)
notifyBeforeInline
in interface InlineInvokePlugin
public void notifyAfterInline(ResolvedJavaMethod methodToInline)
notifyAfterInline
in interface InlineInvokePlugin
private int countNodes()
private int countCalls()
private static boolean isNonTrivial(Node node)
private void accept(HistogramInlineInvokePlugin.MethodStatistic current)
public void print(OptimizedCallTarget target)