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.FixedNodeProbabilityCache probabilites;
descriptor: Lorg/graalvm/compiler/phases/graph/FixedNodeProbabilityCache;
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);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/nodes/Invoke;Lorg/graalvm/compiler/phases/tiers/HighTierContext;Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new org.graalvm.compiler.phases.graph.FixedNodeProbabilityCache
dup
invokespecial org.graalvm.compiler.phases.graph.FixedNodeProbabilityCache.<init>:()V
putfield org.graalvm.compiler.phases.common.inlining.info.elem.InlineableGraph.probabilites:Lorg/graalvm/compiler/phases/graph/FixedNodeProbabilityCache;
2: 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;
aload 2
invokeinterface org.graalvm.compiler.nodes.Invoke.bci:()I
invokestatic org.graalvm.compiler.phases.common.inlining.info.elem.InlineableGraph.getOriginalGraph:(Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/phases/tiers/HighTierContext;Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;Lorg/graalvm/compiler/nodes/StructuredGraph;I)Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 5
start local 5 3: aload 0
aload 5
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.copy:()Lorg/graalvm/compiler/graph/Graph;
checkcast org.graalvm.compiler.nodes.StructuredGraph
putfield org.graalvm.compiler.phases.common.inlining.info.elem.InlineableGraph.graph:Lorg/graalvm/compiler/nodes/StructuredGraph;
4: 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
5: return
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 6 0 this Lorg/graalvm/compiler/phases/common/inlining/info/elem/InlineableGraph;
0 6 1 method Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 6 2 invoke Lorg/graalvm/compiler/nodes/Invoke;
0 6 3 context Lorg/graalvm/compiler/phases/tiers/HighTierContext;
0 6 4 canonicalizer Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;
3 6 5 original Lorg/graalvm/compiler/nodes/StructuredGraph;
MethodParameters:
Name Flags
method final
invoke final
context final
canonicalizer
private static org.graalvm.compiler.nodes.StructuredGraph getOriginalGraph(jdk.vm.ci.meta.ResolvedJavaMethod, org.graalvm.compiler.phases.tiers.HighTierContext, org.graalvm.compiler.phases.common.CanonicalizerPhase, org.graalvm.compiler.nodes.StructuredGraph, int);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/phases/tiers/HighTierContext;Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;Lorg/graalvm/compiler/nodes/StructuredGraph;I)Lorg/graalvm/compiler/nodes/StructuredGraph;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
invokevirtual org.graalvm.compiler.phases.tiers.HighTierContext.getReplacements:()Lorg/graalvm/compiler/nodes/spi/Replacements;
aload 0
iload 4
invokestatic org.graalvm.compiler.phases.common.inlining.InliningUtil.getIntrinsicGraph:(Lorg/graalvm/compiler/nodes/spi/Replacements;Ljdk/vm/ci/meta/ResolvedJavaMethod;I)Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 5
start local 5 1: aload 5
ifnull 3
2: aload 5
areturn
3: StackMap locals: org.graalvm.compiler.nodes.StructuredGraph
StackMap stack:
aload 0
aload 1
aload 2
aload 3
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;)Lorg/graalvm/compiler/nodes/StructuredGraph;
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 4 0 method Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 4 1 context Lorg/graalvm/compiler/phases/tiers/HighTierContext;
0 4 2 canonicalizer Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;
0 4 3 caller Lorg/graalvm/compiler/nodes/StructuredGraph;
0 4 4 callerBci I
1 4 5 result Lorg/graalvm/compiler/nodes/StructuredGraph;
MethodParameters:
Name Flags
method final
context final
canonicalizer
caller
callerBci
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=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aconst_null
astore 4
aconst_null
astore 5
1: ldc "InlineGraph"
aload 0
getfield org.graalvm.compiler.phases.common.inlining.info.elem.InlineableGraph.graph:Lorg/graalvm/compiler/nodes/StructuredGraph;
invokestatic org.graalvm.compiler.debug.Debug.scope:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/graalvm/compiler/debug/Debug$Scope;
astore 6
start local 6 2: 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 7
start local 7 3: aload 7
ifnull 8
4: getstatic org.graalvm.compiler.phases.common.inlining.info.elem.InlineableGraph.$assertionsDisabled:Z
ifne 5
aload 7
invokevirtual java.util.ArrayList.isEmpty:()Z
ifeq 5
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
5: 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 java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Debug$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 7
invokevirtual org.graalvm.compiler.phases.common.CanonicalizerPhase.applyIncremental:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/phases/tiers/PhaseContext;Ljava/lang/Iterable;)V
6: aload 6
ifnull 7
aload 6
invokeinterface org.graalvm.compiler.debug.Debug$Scope.close:()V
7: StackMap locals:
StackMap stack:
iconst_1
ireturn
8: StackMap locals:
StackMap stack:
aload 6
ifnull 9
aload 6
invokeinterface org.graalvm.compiler.debug.Debug$Scope.close:()V
9: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 7 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 java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Debug$Scope
StackMap stack: java.lang.Throwable
10: astore 4
11: aload 6
ifnull 12
aload 6
invokeinterface org.graalvm.compiler.debug.Debug$Scope.close:()V
end local 6 StackMap locals:
StackMap stack:
12: aload 4
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
13: astore 5
aload 4
ifnonnull 14
aload 5
astore 4
goto 15
StackMap locals:
StackMap stack:
14: aload 4
aload 5
if_acmpeq 15
aload 4
aload 5
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
15: aload 4
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
StackMap stack: java.lang.Throwable
16: astore 4
start local 4 17: aload 4
invokestatic org.graalvm.compiler.debug.Debug.handle:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/graalvm/compiler/phases/common/inlining/info/elem/InlineableGraph;
0 18 1 invoke Lorg/graalvm/compiler/nodes/Invoke;
0 18 2 context Lorg/graalvm/compiler/phases/tiers/HighTierContext;
0 18 3 canonicalizer Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;
2 12 6 s Lorg/graalvm/compiler/debug/Debug$Scope;
3 10 7 parameterUsages Ljava/util/ArrayList<Lorg/graalvm/compiler/graph/Node;>;
17 18 4 e Ljava/lang/Throwable;
Exception table:
from to target type
2 6 10 any
1 7 13 any
8 9 13 any
10 13 13 any
0 7 16 Class java.lang.Throwable
8 9 16 Class java.lang.Throwable
10 16 16 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=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.graalvm.compiler.nodes.ParameterNode.stamp:()Lorg/graalvm/compiler/core/common/type/Stamp;
aload 0
invokevirtual org.graalvm.compiler.nodes.ValueNode.stamp:()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
invokevirtual org.graalvm.compiler.nodes.ParameterNode.stamp:()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
invokevirtual org.graalvm.compiler.nodes.ValueNode.asConstant:()Ljdk/vm/ci/meta/Constant;
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
invokevirtual org.graalvm.compiler.nodes.ValueNode.stamp:()Lorg/graalvm/compiler/core/common/type/Stamp;
aload 9
aload 8
checkcast org.graalvm.compiler.nodes.ConstantNode
invokevirtual org.graalvm.compiler.nodes.ConstantNode.getStableDimension:()I
aload 8
checkcast org.graalvm.compiler.nodes.ConstantNode
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 Ljdk/vm/ci/meta/Constant;
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);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/phases/tiers/HighTierContext;Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;Lorg/graalvm/compiler/nodes/StructuredGraph;)Lorg/graalvm/compiler/nodes/StructuredGraph;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new org.graalvm.compiler.nodes.StructuredGraph
dup
aload 0
aload 3
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getAssumptions:()Ljdk/vm/ci/meta/Assumptions;
ifnull 1
iconst_1
goto 2
StackMap locals: jdk.vm.ci.meta.ResolvedJavaMethod org.graalvm.compiler.phases.tiers.HighTierContext org.graalvm.compiler.phases.common.CanonicalizerPhase org.graalvm.compiler.nodes.StructuredGraph
StackMap stack: new 0 new 0 jdk.vm.ci.meta.ResolvedJavaMethod
1: iconst_0
StackMap locals: jdk.vm.ci.meta.ResolvedJavaMethod org.graalvm.compiler.phases.tiers.HighTierContext org.graalvm.compiler.phases.common.CanonicalizerPhase org.graalvm.compiler.nodes.StructuredGraph
StackMap stack: new 0 new 0 jdk.vm.ci.meta.ResolvedJavaMethod int
2: invokestatic org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions.from:(Z)Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;
getstatic org.graalvm.compiler.core.common.CompilationIdentifier.INVALID_COMPILATION_ID:Lorg/graalvm/compiler/core/common/CompilationRequestIdentifier;
invokespecial org.graalvm.compiler.nodes.StructuredGraph.<init>:(Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;Lorg/graalvm/compiler/core/common/CompilationIdentifier;)V
astore 4
start local 4 3: aconst_null
astore 5
aconst_null
astore 6
4: ldc "InlineGraph"
aload 4
invokestatic org.graalvm.compiler.debug.Debug.scope:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/graalvm/compiler/debug/Debug$Scope;
astore 7
start local 7 5: aload 3
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.isUnsafeAccessTrackingEnabled:()Z
ifne 7
6: aload 4
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.disableUnsafeAccessTracking:()V
7: StackMap locals: jdk.vm.ci.meta.ResolvedJavaMethod org.graalvm.compiler.phases.tiers.HighTierContext org.graalvm.compiler.phases.common.CanonicalizerPhase org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.StructuredGraph java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Debug$Scope
StackMap stack:
aload 1
invokevirtual org.graalvm.compiler.phases.tiers.HighTierContext.getGraphBuilderSuite:()Lorg/graalvm/compiler/phases/PhaseSuite;
ifnull 9
8: aload 1
invokevirtual org.graalvm.compiler.phases.tiers.HighTierContext.getGraphBuilderSuite:()Lorg/graalvm/compiler/phases/PhaseSuite;
aload 4
aload 1
invokevirtual org.graalvm.compiler.phases.PhaseSuite.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)V
9: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.phases.common.inlining.info.elem.InlineableGraph.$assertionsDisabled:Z
ifne 10
aload 4
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 10
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
10: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.core.common.GraalOptions.UseGraalInstrumentation:Lorg/graalvm/compiler/options/OptionValue;
invokevirtual org.graalvm.compiler.options.OptionValue.getValue:()Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 12
11: new org.graalvm.compiler.phases.common.instrumentation.ExtractInstrumentationPhase
dup
invokespecial org.graalvm.compiler.phases.common.instrumentation.ExtractInstrumentationPhase.<init>:()V
aload 4
aload 1
invokevirtual org.graalvm.compiler.phases.common.instrumentation.ExtractInstrumentationPhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)V
12: 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 4
invokevirtual org.graalvm.compiler.phases.common.DeadCodeEliminationPhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;)V
13: aload 2
aload 4
aload 1
invokevirtual org.graalvm.compiler.phases.common.CanonicalizerPhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)V
14: aload 4
15: aload 7
ifnull 16
aload 7
invokeinterface org.graalvm.compiler.debug.Debug$Scope.close:()V
16: StackMap locals:
StackMap stack: org.graalvm.compiler.nodes.StructuredGraph
areturn
StackMap locals:
StackMap stack: java.lang.Throwable
17: astore 5
18: aload 7
ifnull 19
aload 7
invokeinterface org.graalvm.compiler.debug.Debug$Scope.close:()V
end local 7 StackMap locals:
StackMap stack:
19: aload 5
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
20: astore 6
aload 5
ifnonnull 21
aload 6
astore 5
goto 22
StackMap locals:
StackMap stack:
21: aload 5
aload 6
if_acmpeq 22
aload 5
aload 6
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
22: aload 5
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 org.graalvm.compiler.nodes.StructuredGraph
StackMap stack: java.lang.Throwable
23: astore 5
start local 5 24: aload 5
invokestatic org.graalvm.compiler.debug.Debug.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 25 0 method Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 25 1 context Lorg/graalvm/compiler/phases/tiers/HighTierContext;
0 25 2 canonicalizer Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;
0 25 3 caller Lorg/graalvm/compiler/nodes/StructuredGraph;
3 25 4 newGraph Lorg/graalvm/compiler/nodes/StructuredGraph;
5 19 7 s Lorg/graalvm/compiler/debug/Debug$Scope;
24 25 5 e Ljava/lang/Throwable;
Exception table:
from to target type
5 15 17 any
4 16 20 any
17 20 20 any
3 16 23 Class java.lang.Throwable
17 23 23 Class java.lang.Throwable
MethodParameters:
Name Flags
method
context
canonicalizer
caller
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/FixedNodeProbabilityCache;
aload 1
invokeinterface org.graalvm.compiler.nodes.Invoke.asNode:()Lorg/graalvm/compiler/nodes/FixedNode;
invokevirtual org.graalvm.compiler.phases.graph.FixedNodeProbabilityCache.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.Debug$Scope of org.graalvm.compiler.debug.Debug
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 final Optionality = org.graalvm.compiler.phases.common.DeadCodeEliminationPhase$Optionality of org.graalvm.compiler.phases.common.DeadCodeEliminationPhase