public class org.graalvm.compiler.phases.common.inlining.info.elem.InlineableGraph implements org.graalvm.compiler.phases.common.inlining.info.elem.Inlineable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.phases.common.inlining.info.elem.InlineableGraph
super_class: java.lang.Object
{
private final org.graalvm.compiler.nodes.StructuredGraph graph;
descriptor: Lorg/graalvm/compiler/nodes/StructuredGraph;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private org.graalvm.compiler.phases.graph.FixedNodeRelativeFrequencyCache probabilites;
descriptor: Lorg/graalvm/compiler/phases/graph/FixedNodeRelativeFrequencyCache;
flags: (0x0002) ACC_PRIVATE
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/graalvm/compiler/phases/common/inlining/info/elem/InlineableGraph;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.graalvm.compiler.phases.common.inlining.info.elem.InlineableGraph.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(jdk.vm.ci.meta.ResolvedJavaMethod, org.graalvm.compiler.nodes.Invoke, org.graalvm.compiler.phases.tiers.HighTierContext, org.graalvm.compiler.phases.common.CanonicalizerPhase, boolean);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/nodes/Invoke;Lorg/graalvm/compiler/phases/tiers/HighTierContext;Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new org.graalvm.compiler.phases.graph.FixedNodeRelativeFrequencyCache
dup
invokespecial org.graalvm.compiler.phases.graph.FixedNodeRelativeFrequencyCache.<init>:()V
putfield org.graalvm.compiler.phases.common.inlining.info.elem.InlineableGraph.probabilites:Lorg/graalvm/compiler/phases/graph/FixedNodeRelativeFrequencyCache;
2: aload 3
invokevirtual org.graalvm.compiler.phases.tiers.HighTierContext.getReplacements:()Lorg/graalvm/compiler/nodes/spi/Replacements;
aload 1
aload 2
invokeinterface org.graalvm.compiler.nodes.Invoke.bci:()I
iload 5
aconst_null
aload 2
invokeinterface org.graalvm.compiler.nodes.Invoke.asNode:()Lorg/graalvm/compiler/nodes/FixedNode;
invokevirtual org.graalvm.compiler.nodes.FixedNode.getOptions:()Lorg/graalvm/compiler/options/OptionValues;
invokeinterface org.graalvm.compiler.nodes.spi.Replacements.getSubstitution:(Ljdk/vm/ci/meta/ResolvedJavaMethod;IZLorg/graalvm/compiler/graph/NodeSourcePosition;Lorg/graalvm/compiler/options/OptionValues;)Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 6
start local 6 3: aload 6
ifnonnull 6
4: aload 1
aload 3
aload 4
aload 2
invokeinterface org.graalvm.compiler.nodes.Invoke.asNode:()Lorg/graalvm/compiler/nodes/FixedNode;
invokevirtual org.graalvm.compiler.nodes.FixedNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
iload 5
invokestatic org.graalvm.compiler.phases.common.inlining.info.elem.InlineableGraph.parseBytecodes:(Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/phases/tiers/HighTierContext;Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;Lorg/graalvm/compiler/nodes/StructuredGraph;Z)Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 6
5: goto 8
StackMap locals: org.graalvm.compiler.phases.common.inlining.info.elem.InlineableGraph jdk.vm.ci.meta.ResolvedJavaMethod org.graalvm.compiler.nodes.Invoke org.graalvm.compiler.phases.tiers.HighTierContext org.graalvm.compiler.phases.common.CanonicalizerPhase int org.graalvm.compiler.nodes.StructuredGraph
StackMap stack:
6: aload 6
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.isFrozen:()Z
ifeq 8
7: aload 6
aload 2
invokeinterface org.graalvm.compiler.nodes.Invoke.asNode:()Lorg/graalvm/compiler/nodes/FixedNode;
invokevirtual org.graalvm.compiler.nodes.FixedNode.getDebug:()Lorg/graalvm/compiler/debug/DebugContext;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.copy:(Lorg/graalvm/compiler/debug/DebugContext;)Lorg/graalvm/compiler/graph/Graph;
checkcast org.graalvm.compiler.nodes.StructuredGraph
astore 6
8: StackMap locals:
StackMap stack:
aload 0
aload 6
putfield org.graalvm.compiler.phases.common.inlining.info.elem.InlineableGraph.graph:Lorg/graalvm/compiler/nodes/StructuredGraph;
9: aload 0
aload 2
aload 3
aload 4
invokevirtual org.graalvm.compiler.phases.common.inlining.info.elem.InlineableGraph.specializeGraphToArguments:(Lorg/graalvm/compiler/nodes/Invoke;Lorg/graalvm/compiler/phases/tiers/HighTierContext;Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;)Z
pop
10: return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/graalvm/compiler/phases/common/inlining/info/elem/InlineableGraph;
0 11 1 method Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 11 2 invoke Lorg/graalvm/compiler/nodes/Invoke;
0 11 3 context Lorg/graalvm/compiler/phases/tiers/HighTierContext;
0 11 4 canonicalizer Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;
0 11 5 trackNodeSourcePosition Z
3 11 6 original Lorg/graalvm/compiler/nodes/StructuredGraph;
MethodParameters:
Name Flags
method final
invoke final
context final
canonicalizer
trackNodeSourcePosition
private boolean specializeGraphToArguments(org.graalvm.compiler.nodes.Invoke, org.graalvm.compiler.phases.tiers.HighTierContext, org.graalvm.compiler.phases.common.CanonicalizerPhase);
descriptor: (Lorg/graalvm/compiler/nodes/Invoke;Lorg/graalvm/compiler/phases/tiers/HighTierContext;Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.graalvm.compiler.phases.common.inlining.info.elem.InlineableGraph.graph:Lorg/graalvm/compiler/nodes/StructuredGraph;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getDebug:()Lorg/graalvm/compiler/debug/DebugContext;
astore 4
start local 4 1: aconst_null
astore 5
aconst_null
astore 6
2: aload 4
ldc "InlineGraph"
aload 0
getfield org.graalvm.compiler.phases.common.inlining.info.elem.InlineableGraph.graph:Lorg/graalvm/compiler/nodes/StructuredGraph;
invokevirtual org.graalvm.compiler.debug.DebugContext.scope:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/graalvm/compiler/debug/DebugContext$Scope;
astore 7
start local 7 3: aload 0
aload 1
aload 2
invokevirtual org.graalvm.compiler.phases.common.inlining.info.elem.InlineableGraph.replaceParamsWithMoreInformativeArguments:(Lorg/graalvm/compiler/nodes/Invoke;Lorg/graalvm/compiler/phases/tiers/HighTierContext;)Ljava/util/ArrayList;
astore 8
start local 8 4: aload 8
ifnull 9
5: getstatic org.graalvm.compiler.phases.common.inlining.info.elem.InlineableGraph.$assertionsDisabled:Z
ifne 6
aload 8
invokevirtual java.util.ArrayList.isEmpty:()Z
ifeq 6
new java.lang.AssertionError
dup
ldc "The caller didn't have more information about arguments after all"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
6: StackMap locals: org.graalvm.compiler.phases.common.inlining.info.elem.InlineableGraph org.graalvm.compiler.nodes.Invoke org.graalvm.compiler.phases.tiers.HighTierContext org.graalvm.compiler.phases.common.CanonicalizerPhase org.graalvm.compiler.debug.DebugContext java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext$Scope java.util.ArrayList
StackMap stack:
aload 3
aload 0
getfield org.graalvm.compiler.phases.common.inlining.info.elem.InlineableGraph.graph:Lorg/graalvm/compiler/nodes/StructuredGraph;
aload 2
aload 8
invokevirtual org.graalvm.compiler.phases.common.CanonicalizerPhase.applyIncremental:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/spi/CoreProviders;Ljava/lang/Iterable;)V
7: aload 7
ifnull 8
aload 7
invokeinterface org.graalvm.compiler.debug.DebugContext$Scope.close:()V
8: StackMap locals:
StackMap stack:
iconst_1
ireturn
9: StackMap locals:
StackMap stack:
aload 7
ifnull 10
aload 7
invokeinterface org.graalvm.compiler.debug.DebugContext$Scope.close:()V
10: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 8 StackMap locals: org.graalvm.compiler.phases.common.inlining.info.elem.InlineableGraph org.graalvm.compiler.nodes.Invoke org.graalvm.compiler.phases.tiers.HighTierContext org.graalvm.compiler.phases.common.CanonicalizerPhase org.graalvm.compiler.debug.DebugContext java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext$Scope
StackMap stack: java.lang.Throwable
11: astore 5
12: aload 7
ifnull 13
aload 7
invokeinterface org.graalvm.compiler.debug.DebugContext$Scope.close:()V
end local 7 StackMap locals:
StackMap stack:
13: aload 5
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
14: astore 6
aload 5
ifnonnull 15
aload 6
astore 5
goto 16
StackMap locals:
StackMap stack:
15: aload 5
aload 6
if_acmpeq 16
aload 5
aload 6
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
16: aload 5
athrow
StackMap locals: org.graalvm.compiler.phases.common.inlining.info.elem.InlineableGraph org.graalvm.compiler.nodes.Invoke org.graalvm.compiler.phases.tiers.HighTierContext org.graalvm.compiler.phases.common.CanonicalizerPhase org.graalvm.compiler.debug.DebugContext
StackMap stack: java.lang.Throwable
17: astore 5
start local 5 18: aload 4
aload 5
invokevirtual org.graalvm.compiler.debug.DebugContext.handle:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/graalvm/compiler/phases/common/inlining/info/elem/InlineableGraph;
0 19 1 invoke Lorg/graalvm/compiler/nodes/Invoke;
0 19 2 context Lorg/graalvm/compiler/phases/tiers/HighTierContext;
0 19 3 canonicalizer Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;
1 19 4 debug Lorg/graalvm/compiler/debug/DebugContext;
3 13 7 s Lorg/graalvm/compiler/debug/DebugContext$Scope;
4 11 8 parameterUsages Ljava/util/ArrayList<Lorg/graalvm/compiler/graph/Node;>;
18 19 5 e Ljava/lang/Throwable;
Exception table:
from to target type
3 7 11 any
2 8 14 any
9 10 14 any
11 14 14 any
1 8 17 Class java.lang.Throwable
9 10 17 Class java.lang.Throwable
11 17 17 Class java.lang.Throwable
MethodParameters:
Name Flags
invoke final
context final
canonicalizer
private static boolean isArgMoreInformativeThanParam(org.graalvm.compiler.nodes.ValueNode, org.graalvm.compiler.nodes.ParameterNode);
descriptor: (Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ParameterNode;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.graalvm.compiler.nodes.ValueNode.isConstant:()Z
ifne 1
aload 0
aload 1
invokestatic org.graalvm.compiler.phases.common.inlining.info.elem.InlineableGraph.canStampBeImproved:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ParameterNode;)Z
ifne 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 arg Lorg/graalvm/compiler/nodes/ValueNode;
0 2 1 param Lorg/graalvm/compiler/nodes/ParameterNode;
MethodParameters:
Name Flags
arg
param
private static boolean canStampBeImproved(org.graalvm.compiler.nodes.ValueNode, org.graalvm.compiler.nodes.ParameterNode);
descriptor: (Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ParameterNode;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.graalvm.compiler.phases.common.inlining.info.elem.InlineableGraph.improvedStamp:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ParameterNode;)Lorg/graalvm/compiler/core/common/type/Stamp;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 arg Lorg/graalvm/compiler/nodes/ValueNode;
0 2 1 param Lorg/graalvm/compiler/nodes/ParameterNode;
MethodParameters:
Name Flags
arg
param
private static org.graalvm.compiler.core.common.type.Stamp improvedStamp(org.graalvm.compiler.nodes.ValueNode, org.graalvm.compiler.nodes.ParameterNode);
descriptor: (Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ParameterNode;)Lorg/graalvm/compiler/core/common/type/Stamp;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
getstatic org.graalvm.compiler.nodes.NodeView.DEFAULT:Lorg/graalvm/compiler/nodes/NodeView;
invokevirtual org.graalvm.compiler.nodes.ParameterNode.stamp:(Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/core/common/type/Stamp;
aload 0
getstatic org.graalvm.compiler.nodes.NodeView.DEFAULT:Lorg/graalvm/compiler/nodes/NodeView;
invokevirtual org.graalvm.compiler.nodes.ValueNode.stamp:(Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/core/common/type/Stamp;
invokevirtual org.graalvm.compiler.core.common.type.Stamp.join:(Lorg/graalvm/compiler/core/common/type/Stamp;)Lorg/graalvm/compiler/core/common/type/Stamp;
astore 2
start local 2 1: aload 2
ifnull 2
aload 2
aload 1
getstatic org.graalvm.compiler.nodes.NodeView.DEFAULT:Lorg/graalvm/compiler/nodes/NodeView;
invokevirtual org.graalvm.compiler.nodes.ParameterNode.stamp:(Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/core/common/type/Stamp;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 3
2: StackMap locals: org.graalvm.compiler.core.common.type.Stamp
StackMap stack:
aconst_null
areturn
3: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 arg Lorg/graalvm/compiler/nodes/ValueNode;
0 4 1 param Lorg/graalvm/compiler/nodes/ParameterNode;
1 4 2 joinedStamp Lorg/graalvm/compiler/core/common/type/Stamp;
MethodParameters:
Name Flags
arg
param
private java.util.ArrayList<org.graalvm.compiler.graph.Node> replaceParamsWithMoreInformativeArguments(org.graalvm.compiler.nodes.Invoke, org.graalvm.compiler.phases.tiers.HighTierContext);
descriptor: (Lorg/graalvm/compiler/nodes/Invoke;Lorg/graalvm/compiler/phases/tiers/HighTierContext;)Ljava/util/ArrayList;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface org.graalvm.compiler.nodes.Invoke.callTarget:()Lorg/graalvm/compiler/nodes/CallTargetNode;
invokevirtual org.graalvm.compiler.nodes.CallTargetNode.arguments:()Lorg/graalvm/compiler/graph/NodeInputList;
astore 3
start local 3 1: aconst_null
astore 4
start local 4 2: aload 0
getfield org.graalvm.compiler.phases.common.inlining.info.elem.InlineableGraph.graph:Lorg/graalvm/compiler/nodes/StructuredGraph;
getstatic org.graalvm.compiler.nodes.ParameterNode.TYPE:Lorg/graalvm/compiler/graph/NodeClass;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getNodes:(Lorg/graalvm/compiler/graph/NodeClass;)Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.snapshot:()Ljava/util/List;
astore 5
start local 5 3: getstatic org.graalvm.compiler.phases.common.inlining.info.elem.InlineableGraph.$assertionsDisabled:Z
ifne 4
aload 5
invokeinterface java.util.List.size:()I
aload 3
invokevirtual org.graalvm.compiler.graph.NodeInputList.size:()I
if_icmple 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals: org.graalvm.compiler.graph.NodeInputList java.util.ArrayList java.util.List
StackMap stack:
aload 5
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 21
StackMap locals: org.graalvm.compiler.phases.common.inlining.info.elem.InlineableGraph org.graalvm.compiler.nodes.Invoke org.graalvm.compiler.phases.tiers.HighTierContext org.graalvm.compiler.graph.NodeInputList java.util.ArrayList java.util.List top java.util.Iterator
StackMap stack:
5: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.ParameterNode
astore 6
start local 6 6: aload 6
invokevirtual org.graalvm.compiler.nodes.ParameterNode.usages:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.isNotEmpty:()Z
ifeq 21
7: aload 3
aload 6
invokevirtual org.graalvm.compiler.nodes.ParameterNode.index:()I
invokevirtual org.graalvm.compiler.graph.NodeInputList.get:(I)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.ValueNode
astore 8
start local 8 8: aload 8
invokevirtual org.graalvm.compiler.nodes.ValueNode.isConstant:()Z
ifeq 15
9: aload 8
checkcast org.graalvm.compiler.nodes.ConstantNode
astore 9
start local 9 10: aload 6
aload 4
invokestatic org.graalvm.compiler.phases.common.inlining.info.elem.InlineableGraph.trackParameterUsages:(Lorg/graalvm/compiler/nodes/ParameterNode;Ljava/util/ArrayList;)Ljava/util/ArrayList;
astore 4
11: aload 6
aload 0
getfield org.graalvm.compiler.phases.common.inlining.info.elem.InlineableGraph.graph:Lorg/graalvm/compiler/nodes/StructuredGraph;
12: aload 8
getstatic org.graalvm.compiler.nodes.NodeView.DEFAULT:Lorg/graalvm/compiler/nodes/NodeView;
invokevirtual org.graalvm.compiler.nodes.ValueNode.stamp:(Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/core/common/type/Stamp;
aload 9
invokevirtual org.graalvm.compiler.nodes.ConstantNode.getValue:()Ljdk/vm/ci/meta/Constant;
aload 9
invokevirtual org.graalvm.compiler.nodes.ConstantNode.getStableDimension:()I
aload 9
invokevirtual org.graalvm.compiler.nodes.ConstantNode.isDefaultStable:()Z
aload 2
invokevirtual org.graalvm.compiler.phases.tiers.HighTierContext.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
invokestatic org.graalvm.compiler.nodes.ConstantNode.forConstant:(Lorg/graalvm/compiler/core/common/type/Stamp;Ljdk/vm/ci/meta/Constant;IZLjdk/vm/ci/meta/MetaAccessProvider;)Lorg/graalvm/compiler/nodes/ConstantNode;
13: invokevirtual org.graalvm.compiler.nodes.StructuredGraph.unique:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
invokevirtual org.graalvm.compiler.nodes.ParameterNode.replaceAtUsagesAndDelete:(Lorg/graalvm/compiler/graph/Node;)V
end local 9 14: goto 21
15: StackMap locals: org.graalvm.compiler.phases.common.inlining.info.elem.InlineableGraph org.graalvm.compiler.nodes.Invoke org.graalvm.compiler.phases.tiers.HighTierContext org.graalvm.compiler.graph.NodeInputList java.util.ArrayList java.util.List org.graalvm.compiler.nodes.ParameterNode java.util.Iterator org.graalvm.compiler.nodes.ValueNode
StackMap stack:
aload 8
aload 6
invokestatic org.graalvm.compiler.phases.common.inlining.info.elem.InlineableGraph.improvedStamp:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ParameterNode;)Lorg/graalvm/compiler/core/common/type/Stamp;
astore 9
start local 9 16: aload 9
ifnull 20
17: aload 6
aload 9
invokevirtual org.graalvm.compiler.nodes.ParameterNode.setStamp:(Lorg/graalvm/compiler/core/common/type/Stamp;)V
18: aload 6
aload 4
invokestatic org.graalvm.compiler.phases.common.inlining.info.elem.InlineableGraph.trackParameterUsages:(Lorg/graalvm/compiler/nodes/ParameterNode;Ljava/util/ArrayList;)Ljava/util/ArrayList;
astore 4
19: goto 21
20: StackMap locals: org.graalvm.compiler.core.common.type.Stamp
StackMap stack:
getstatic org.graalvm.compiler.phases.common.inlining.info.elem.InlineableGraph.$assertionsDisabled:Z
ifne 21
aload 8
aload 6
invokestatic org.graalvm.compiler.phases.common.inlining.info.elem.InlineableGraph.isArgMoreInformativeThanParam:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ParameterNode;)Z
ifeq 21
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
end local 9 end local 8 end local 6 21: StackMap locals: org.graalvm.compiler.phases.common.inlining.info.elem.InlineableGraph org.graalvm.compiler.nodes.Invoke org.graalvm.compiler.phases.tiers.HighTierContext org.graalvm.compiler.graph.NodeInputList java.util.ArrayList java.util.List top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
22: getstatic org.graalvm.compiler.phases.common.inlining.info.elem.InlineableGraph.$assertionsDisabled:Z
ifne 23
aload 4
ifnull 23
aload 4
invokevirtual java.util.ArrayList.isEmpty:()Z
ifeq 23
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
23: StackMap locals: org.graalvm.compiler.phases.common.inlining.info.elem.InlineableGraph org.graalvm.compiler.nodes.Invoke org.graalvm.compiler.phases.tiers.HighTierContext org.graalvm.compiler.graph.NodeInputList java.util.ArrayList java.util.List
StackMap stack:
aload 4
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lorg/graalvm/compiler/phases/common/inlining/info/elem/InlineableGraph;
0 24 1 invoke Lorg/graalvm/compiler/nodes/Invoke;
0 24 2 context Lorg/graalvm/compiler/phases/tiers/HighTierContext;
1 24 3 args Lorg/graalvm/compiler/graph/NodeInputList<Lorg/graalvm/compiler/nodes/ValueNode;>;
2 24 4 parameterUsages Ljava/util/ArrayList<Lorg/graalvm/compiler/graph/Node;>;
3 24 5 params Ljava/util/List<Lorg/graalvm/compiler/nodes/ParameterNode;>;
6 21 6 param Lorg/graalvm/compiler/nodes/ParameterNode;
8 21 8 arg Lorg/graalvm/compiler/nodes/ValueNode;
10 14 9 constant Lorg/graalvm/compiler/nodes/ConstantNode;
16 21 9 impro Lorg/graalvm/compiler/core/common/type/Stamp;
Signature: (Lorg/graalvm/compiler/nodes/Invoke;Lorg/graalvm/compiler/phases/tiers/HighTierContext;)Ljava/util/ArrayList<Lorg/graalvm/compiler/graph/Node;>;
MethodParameters:
Name Flags
invoke final
context final
private static java.util.ArrayList<org.graalvm.compiler.graph.Node> trackParameterUsages(org.graalvm.compiler.nodes.ParameterNode, java.util.ArrayList<org.graalvm.compiler.graph.Node>);
descriptor: (Lorg/graalvm/compiler/nodes/ParameterNode;Ljava/util/ArrayList;)Ljava/util/ArrayList;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 1
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
goto 2
StackMap locals:
StackMap stack:
1: aload 1
StackMap locals:
StackMap stack: java.util.ArrayList
2: astore 2
start local 2 3: aload 0
invokevirtual org.graalvm.compiler.nodes.ParameterNode.usages:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
aload 2
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.snapshotTo:(Ljava/util/Collection;)V
4: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 param Lorg/graalvm/compiler/nodes/ParameterNode;
0 5 1 parameterUsages Ljava/util/ArrayList<Lorg/graalvm/compiler/graph/Node;>;
3 5 2 result Ljava/util/ArrayList<Lorg/graalvm/compiler/graph/Node;>;
Signature: (Lorg/graalvm/compiler/nodes/ParameterNode;Ljava/util/ArrayList<Lorg/graalvm/compiler/graph/Node;>;)Ljava/util/ArrayList<Lorg/graalvm/compiler/graph/Node;>;
MethodParameters:
Name Flags
param
parameterUsages
private static org.graalvm.compiler.nodes.StructuredGraph parseBytecodes(jdk.vm.ci.meta.ResolvedJavaMethod, org.graalvm.compiler.phases.tiers.HighTierContext, org.graalvm.compiler.phases.common.CanonicalizerPhase, org.graalvm.compiler.nodes.StructuredGraph, boolean);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/phases/tiers/HighTierContext;Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;Lorg/graalvm/compiler/nodes/StructuredGraph;Z)Lorg/graalvm/compiler/nodes/StructuredGraph;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=10, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 3
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getDebug:()Lorg/graalvm/compiler/debug/DebugContext;
astore 5
start local 5 1: new org.graalvm.compiler.nodes.StructuredGraph$Builder
dup
aload 3
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getOptions:()Lorg/graalvm/compiler/options/OptionValues;
aload 5
aload 3
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getAssumptions:()Ljdk/vm/ci/meta/Assumptions;
invokestatic org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions.ifNonNull:(Ljdk/vm/ci/meta/Assumptions;)Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;
invokespecial org.graalvm.compiler.nodes.StructuredGraph$Builder.<init>:(Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/debug/DebugContext;Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;)V
aload 0
invokevirtual org.graalvm.compiler.nodes.StructuredGraph$Builder.method:(Ljdk/vm/ci/meta/ResolvedJavaMethod;)Lorg/graalvm/compiler/nodes/StructuredGraph$Builder;
2: iload 4
3: invokevirtual org.graalvm.compiler.nodes.StructuredGraph$Builder.trackNodeSourcePosition:(Z)Lorg/graalvm/compiler/nodes/StructuredGraph$Builder;
4: aload 3
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.useProfilingInfo:()Z
invokevirtual org.graalvm.compiler.nodes.StructuredGraph$Builder.useProfilingInfo:(Z)Lorg/graalvm/compiler/nodes/StructuredGraph$Builder;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph$Builder.build:()Lorg/graalvm/compiler/nodes/StructuredGraph;
5: astore 6
start local 6 6: aconst_null
astore 7
aconst_null
astore 8
7: aload 5
ldc "InlineGraph"
aload 6
invokevirtual org.graalvm.compiler.debug.DebugContext.scope:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/graalvm/compiler/debug/DebugContext$Scope;
astore 9
start local 9 8: aload 3
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.isUnsafeAccessTrackingEnabled:()Z
ifne 10
9: aload 6
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.disableUnsafeAccessTracking:()V
10: StackMap locals: jdk.vm.ci.meta.ResolvedJavaMethod org.graalvm.compiler.phases.tiers.HighTierContext org.graalvm.compiler.phases.common.CanonicalizerPhase org.graalvm.compiler.nodes.StructuredGraph int org.graalvm.compiler.debug.DebugContext org.graalvm.compiler.nodes.StructuredGraph java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext$Scope
StackMap stack:
aload 1
invokevirtual org.graalvm.compiler.phases.tiers.HighTierContext.getGraphBuilderSuite:()Lorg/graalvm/compiler/phases/PhaseSuite;
ifnull 12
11: aload 1
invokevirtual org.graalvm.compiler.phases.tiers.HighTierContext.getGraphBuilderSuite:()Lorg/graalvm/compiler/phases/PhaseSuite;
aload 6
aload 1
invokevirtual org.graalvm.compiler.phases.PhaseSuite.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)V
12: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.phases.common.inlining.info.elem.InlineableGraph.$assertionsDisabled:Z
ifne 13
aload 6
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.start:()Lorg/graalvm/compiler/nodes/StartNode;
invokevirtual org.graalvm.compiler.nodes.StartNode.next:()Lorg/graalvm/compiler/nodes/FixedNode;
ifnonnull 13
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "graph needs to be populated by the GraphBuilderSuite "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.canBeInlined:()Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
13: StackMap locals:
StackMap stack:
new org.graalvm.compiler.phases.common.DeadCodeEliminationPhase
dup
getstatic org.graalvm.compiler.phases.common.DeadCodeEliminationPhase$Optionality.Optional:Lorg/graalvm/compiler/phases/common/DeadCodeEliminationPhase$Optionality;
invokespecial org.graalvm.compiler.phases.common.DeadCodeEliminationPhase.<init>:(Lorg/graalvm/compiler/phases/common/DeadCodeEliminationPhase$Optionality;)V
aload 6
invokevirtual org.graalvm.compiler.phases.common.DeadCodeEliminationPhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;)V
14: aload 2
aload 6
aload 1
invokevirtual org.graalvm.compiler.phases.common.CanonicalizerPhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)V
15: aload 6
16: aload 9
ifnull 17
aload 9
invokeinterface org.graalvm.compiler.debug.DebugContext$Scope.close:()V
17: StackMap locals:
StackMap stack: org.graalvm.compiler.nodes.StructuredGraph
areturn
StackMap locals:
StackMap stack: java.lang.Throwable
18: astore 7
19: aload 9
ifnull 20
aload 9
invokeinterface org.graalvm.compiler.debug.DebugContext$Scope.close:()V
end local 9 StackMap locals:
StackMap stack:
20: aload 7
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
21: astore 8
aload 7
ifnonnull 22
aload 8
astore 7
goto 23
StackMap locals:
StackMap stack:
22: aload 7
aload 8
if_acmpeq 23
aload 7
aload 8
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
23: aload 7
athrow
StackMap locals: jdk.vm.ci.meta.ResolvedJavaMethod org.graalvm.compiler.phases.tiers.HighTierContext org.graalvm.compiler.phases.common.CanonicalizerPhase org.graalvm.compiler.nodes.StructuredGraph int org.graalvm.compiler.debug.DebugContext org.graalvm.compiler.nodes.StructuredGraph
StackMap stack: java.lang.Throwable
24: astore 7
start local 7 25: aload 5
aload 7
invokevirtual org.graalvm.compiler.debug.DebugContext.handle:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 method Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 26 1 context Lorg/graalvm/compiler/phases/tiers/HighTierContext;
0 26 2 canonicalizer Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;
0 26 3 caller Lorg/graalvm/compiler/nodes/StructuredGraph;
0 26 4 trackNodeSourcePosition Z
1 26 5 debug Lorg/graalvm/compiler/debug/DebugContext;
6 26 6 newGraph Lorg/graalvm/compiler/nodes/StructuredGraph;
8 20 9 s Lorg/graalvm/compiler/debug/DebugContext$Scope;
25 26 7 e Ljava/lang/Throwable;
Exception table:
from to target type
8 16 18 any
7 17 21 any
18 21 21 any
6 17 24 Class java.lang.Throwable
18 24 24 Class java.lang.Throwable
MethodParameters:
Name Flags
method
context
canonicalizer
caller
trackNodeSourcePosition
public int getNodeCount();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.phases.common.inlining.info.elem.InlineableGraph.graph:Lorg/graalvm/compiler/nodes/StructuredGraph;
invokestatic org.graalvm.compiler.phases.common.inlining.InliningUtil.getNodeCount:(Lorg/graalvm/compiler/nodes/StructuredGraph;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/phases/common/inlining/info/elem/InlineableGraph;
public java.lang.Iterable<org.graalvm.compiler.nodes.Invoke> getInvokes();
descriptor: ()Ljava/lang/Iterable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.phases.common.inlining.info.elem.InlineableGraph.graph:Lorg/graalvm/compiler/nodes/StructuredGraph;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getInvokes:()Ljava/lang/Iterable;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/phases/common/inlining/info/elem/InlineableGraph;
Signature: ()Ljava/lang/Iterable<Lorg/graalvm/compiler/nodes/Invoke;>;
public double getProbability(org.graalvm.compiler.nodes.Invoke);
descriptor: (Lorg/graalvm/compiler/nodes/Invoke;)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.phases.common.inlining.info.elem.InlineableGraph.probabilites:Lorg/graalvm/compiler/phases/graph/FixedNodeRelativeFrequencyCache;
aload 1
invokeinterface org.graalvm.compiler.nodes.Invoke.asNode:()Lorg/graalvm/compiler/nodes/FixedNode;
invokevirtual org.graalvm.compiler.phases.graph.FixedNodeRelativeFrequencyCache.applyAsDouble:(Lorg/graalvm/compiler/nodes/FixedNode;)D
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/phases/common/inlining/info/elem/InlineableGraph;
0 1 1 invoke Lorg/graalvm/compiler/nodes/Invoke;
MethodParameters:
Name Flags
invoke
public org.graalvm.compiler.nodes.StructuredGraph getGraph();
descriptor: ()Lorg/graalvm/compiler/nodes/StructuredGraph;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.phases.common.inlining.info.elem.InlineableGraph.graph:Lorg/graalvm/compiler/nodes/StructuredGraph;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/phases/common/inlining/info/elem/InlineableGraph;
}
SourceFile: "InlineableGraph.java"
InnerClasses:
public abstract Scope = org.graalvm.compiler.debug.DebugContext$Scope of org.graalvm.compiler.debug.DebugContext
public abstract ValueNumberable = org.graalvm.compiler.graph.Node$ValueNumberable of org.graalvm.compiler.graph.Node
public final AllowAssumptions = org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions of org.graalvm.compiler.nodes.StructuredGraph
public Builder = org.graalvm.compiler.nodes.StructuredGraph$Builder of org.graalvm.compiler.nodes.StructuredGraph
public final Optionality = org.graalvm.compiler.phases.common.DeadCodeEliminationPhase$Optionality of org.graalvm.compiler.phases.common.DeadCodeEliminationPhase