public class org.graalvm.compiler.replacements.MethodHandlePlugin implements org.graalvm.compiler.nodes.graphbuilderconf.NodePlugin
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.replacements.MethodHandlePlugin
super_class: java.lang.Object
{
private final jdk.vm.ci.meta.MethodHandleAccessProvider methodHandleAccess;
descriptor: Ljdk/vm/ci/meta/MethodHandleAccessProvider;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean safeForDeoptimization;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(jdk.vm.ci.meta.MethodHandleAccessProvider, boolean);
descriptor: (Ljdk/vm/ci/meta/MethodHandleAccessProvider;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.graalvm.compiler.replacements.MethodHandlePlugin.methodHandleAccess:Ljdk/vm/ci/meta/MethodHandleAccessProvider;
2: aload 0
iload 2
putfield org.graalvm.compiler.replacements.MethodHandlePlugin.safeForDeoptimization:Z
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/replacements/MethodHandlePlugin;
0 4 1 methodHandleAccess Ljdk/vm/ci/meta/MethodHandleAccessProvider;
0 4 2 safeForDeoptimization Z
MethodParameters:
Name Flags
methodHandleAccess
safeForDeoptimization
public boolean handleInvoke(org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext, jdk.vm.ci.meta.ResolvedJavaMethod, org.graalvm.compiler.nodes.ValueNode[]);
descriptor: (Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderContext;Ljdk/vm/ci/meta/ResolvedJavaMethod;[Lorg/graalvm/compiler/nodes/ValueNode;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=12, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.graalvm.compiler.replacements.MethodHandlePlugin.methodHandleAccess:Ljdk/vm/ci/meta/MethodHandleAccessProvider;
aload 2
invokeinterface jdk.vm.ci.meta.MethodHandleAccessProvider.lookupMethodHandleIntrinsic:(Ljdk/vm/ci/meta/ResolvedJavaMethod;)Ljdk/vm/ci/meta/MethodHandleAccessProvider$IntrinsicMethod;
astore 4
start local 4 1: aload 4
ifnull 31
2: aload 1
invokeinterface org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext.getInvokeKind:()Lorg/graalvm/compiler/nodes/CallTargetNode$InvokeKind;
astore 5
start local 5 3: aload 5
getstatic org.graalvm.compiler.nodes.CallTargetNode$InvokeKind.Static:Lorg/graalvm/compiler/nodes/CallTargetNode$InvokeKind;
if_acmpeq 5
4: aload 3
iconst_0
aload 1
aload 3
iconst_0
aaload
invokeinterface org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext.nullCheckedValue:(Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
aastore
5: StackMap locals: jdk.vm.ci.meta.MethodHandleAccessProvider$IntrinsicMethod org.graalvm.compiler.nodes.CallTargetNode$InvokeKind
StackMap stack:
aload 1
aload 1
invokeinterface org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext.getAssumptions:()Ljdk/vm/ci/meta/Assumptions;
invokeinterface org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext.getInvokeReturnStamp:(Ljdk/vm/ci/meta/Assumptions;)Lorg/graalvm/compiler/core/common/type/StampPair;
astore 6
start local 6 6: new org.graalvm.compiler.replacements.MethodHandlePlugin$1
dup
aload 0
aload 1
invokeinterface org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext.getGraph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
aload 1
invokespecial org.graalvm.compiler.replacements.MethodHandlePlugin$1.<init>:(Lorg/graalvm/compiler/replacements/MethodHandlePlugin;Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderContext;)V
astore 7
start local 7 7: aload 7
aload 0
getfield org.graalvm.compiler.replacements.MethodHandlePlugin.methodHandleAccess:Ljdk/vm/ci/meta/MethodHandleAccessProvider;
aload 4
aload 2
aload 1
invokeinterface org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext.bci:()I
aload 6
aload 3
invokestatic org.graalvm.compiler.replacements.nodes.MethodHandleNode.tryResolveTargetInvoke:(Lorg/graalvm/compiler/replacements/nodes/MethodHandleNode$GraphAdder;Ljdk/vm/ci/meta/MethodHandleAccessProvider;Ljdk/vm/ci/meta/MethodHandleAccessProvider$IntrinsicMethod;Ljdk/vm/ci/meta/ResolvedJavaMethod;ILorg/graalvm/compiler/core/common/type/StampPair;[Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/InvokeNode;
astore 8
start local 8 8: aload 8
ifnonnull 15
9: new org.graalvm.compiler.replacements.nodes.MethodHandleNode
dup
aload 4
aload 5
aload 2
aload 1
invokeinterface org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext.bci:()I
aload 6
aload 3
invokespecial org.graalvm.compiler.replacements.nodes.MethodHandleNode.<init>:(Ljdk/vm/ci/meta/MethodHandleAccessProvider$IntrinsicMethod;Lorg/graalvm/compiler/nodes/CallTargetNode$InvokeKind;Ljdk/vm/ci/meta/ResolvedJavaMethod;ILorg/graalvm/compiler/core/common/type/StampPair;[Lorg/graalvm/compiler/nodes/ValueNode;)V
astore 9
start local 9 10: aload 6
invokevirtual org.graalvm.compiler.core.common.type.StampPair.getTrustedStamp:()Lorg/graalvm/compiler/core/common/type/Stamp;
invokevirtual org.graalvm.compiler.core.common.type.Stamp.getStackKind:()Ljdk/vm/ci/meta/JavaKind;
getstatic jdk.vm.ci.meta.JavaKind.Void:Ljdk/vm/ci/meta/JavaKind;
if_acmpne 13
11: aload 1
aload 9
invokeinterface org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext.add:(Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
pop
12: goto 30
13: StackMap locals: org.graalvm.compiler.replacements.MethodHandlePlugin org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext jdk.vm.ci.meta.ResolvedJavaMethod org.graalvm.compiler.nodes.ValueNode[] jdk.vm.ci.meta.MethodHandleAccessProvider$IntrinsicMethod org.graalvm.compiler.nodes.CallTargetNode$InvokeKind org.graalvm.compiler.core.common.type.StampPair org.graalvm.compiler.replacements.nodes.MethodHandleNode$GraphAdder org.graalvm.compiler.nodes.InvokeNode org.graalvm.compiler.replacements.nodes.MethodHandleNode
StackMap stack:
aload 1
aload 6
invokevirtual org.graalvm.compiler.core.common.type.StampPair.getTrustedStamp:()Lorg/graalvm/compiler/core/common/type/Stamp;
invokevirtual org.graalvm.compiler.core.common.type.Stamp.getStackKind:()Ljdk/vm/ci/meta/JavaKind;
aload 9
invokeinterface org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext.addPush:(Ljdk/vm/ci/meta/JavaKind;Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
pop
end local 9 14: goto 30
15: StackMap locals:
StackMap stack:
aload 8
invokevirtual org.graalvm.compiler.nodes.InvokeNode.callTarget:()Lorg/graalvm/compiler/nodes/CallTargetNode;
astore 9
start local 9 16: aload 9
invokevirtual org.graalvm.compiler.nodes.CallTargetNode.arguments:()Lorg/graalvm/compiler/graph/NodeInputList;
astore 10
start local 10 17: iconst_0
istore 11
start local 11 18: goto 21
19: StackMap locals: org.graalvm.compiler.nodes.CallTargetNode org.graalvm.compiler.graph.NodeInputList int
StackMap stack:
aload 10
iload 11
aload 1
aload 10
iload 11
invokevirtual org.graalvm.compiler.graph.NodeInputList.get:(I)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.ValueNode
invokeinterface org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext.append:(Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.graph.NodeInputList.initialize:(ILorg/graalvm/compiler/graph/Node;)V
20: iinc 11 1
StackMap locals:
StackMap stack:
21: iload 11
aload 10
invokevirtual org.graalvm.compiler.graph.NodeInputList.size:()I
if_icmplt 19
end local 11 22: iconst_0
istore 11
start local 11 23: aload 0
getfield org.graalvm.compiler.replacements.MethodHandlePlugin.safeForDeoptimization:Z
ifeq 27
24: aload 3
arraylength
aload 10
invokevirtual org.graalvm.compiler.graph.NodeInputList.size:()I
if_icmpeq 25
iconst_1
goto 26
StackMap locals: org.graalvm.compiler.replacements.MethodHandlePlugin org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext jdk.vm.ci.meta.ResolvedJavaMethod org.graalvm.compiler.nodes.ValueNode[] jdk.vm.ci.meta.MethodHandleAccessProvider$IntrinsicMethod org.graalvm.compiler.nodes.CallTargetNode$InvokeKind org.graalvm.compiler.core.common.type.StampPair org.graalvm.compiler.replacements.nodes.MethodHandleNode$GraphAdder org.graalvm.compiler.nodes.InvokeNode org.graalvm.compiler.nodes.CallTargetNode org.graalvm.compiler.graph.NodeInputList int
StackMap stack:
25: iconst_0
StackMap locals:
StackMap stack: int
26: istore 11
27: StackMap locals:
StackMap stack:
iload 11
ifeq 29
aload 9
invokevirtual org.graalvm.compiler.nodes.CallTargetNode.targetMethod:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.hasBytecodes:()Z
ifne 29
28: iconst_0
ireturn
29: StackMap locals:
StackMap stack:
aload 1
aload 8
invokevirtual org.graalvm.compiler.nodes.InvokeNode.getInvokeKind:()Lorg/graalvm/compiler/nodes/CallTargetNode$InvokeKind;
aload 9
invokevirtual org.graalvm.compiler.nodes.CallTargetNode.targetMethod:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
aload 10
aload 10
invokevirtual org.graalvm.compiler.graph.NodeInputList.size:()I
anewarray org.graalvm.compiler.nodes.ValueNode
invokevirtual org.graalvm.compiler.graph.NodeInputList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.ValueNode[]
iload 11
invokeinterface org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext.handleReplacedInvoke:(Lorg/graalvm/compiler/nodes/CallTargetNode$InvokeKind;Ljdk/vm/ci/meta/ResolvedJavaMethod;[Lorg/graalvm/compiler/nodes/ValueNode;Z)V
end local 11 end local 10 end local 9 30: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 8 end local 7 end local 6 end local 5 31: StackMap locals: org.graalvm.compiler.replacements.MethodHandlePlugin org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext jdk.vm.ci.meta.ResolvedJavaMethod org.graalvm.compiler.nodes.ValueNode[] jdk.vm.ci.meta.MethodHandleAccessProvider$IntrinsicMethod
StackMap stack:
iconst_0
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Lorg/graalvm/compiler/replacements/MethodHandlePlugin;
0 32 1 b Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderContext;
0 32 2 method Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 32 3 args [Lorg/graalvm/compiler/nodes/ValueNode;
1 32 4 intrinsicMethod Ljdk/vm/ci/meta/MethodHandleAccessProvider$IntrinsicMethod;
3 31 5 invokeKind Lorg/graalvm/compiler/nodes/CallTargetNode$InvokeKind;
6 31 6 invokeReturnStamp Lorg/graalvm/compiler/core/common/type/StampPair;
7 31 7 adder Lorg/graalvm/compiler/replacements/nodes/MethodHandleNode$GraphAdder;
8 31 8 invoke Lorg/graalvm/compiler/nodes/InvokeNode;
10 14 9 methodHandleNode Lorg/graalvm/compiler/replacements/nodes/MethodHandleNode;
16 30 9 callTarget Lorg/graalvm/compiler/nodes/CallTargetNode;
17 30 10 argumentsList Lorg/graalvm/compiler/graph/NodeInputList<Lorg/graalvm/compiler/nodes/ValueNode;>;
18 22 11 i I
23 30 11 inlineEverything Z
MethodParameters:
Name Flags
b
method
args
}
SourceFile: "MethodHandlePlugin.java"
NestMembers:
org.graalvm.compiler.replacements.MethodHandlePlugin$1
InnerClasses:
public final IntrinsicMethod = jdk.vm.ci.meta.MethodHandleAccessProvider$IntrinsicMethod of jdk.vm.ci.meta.MethodHandleAccessProvider
public final InvokeKind = org.graalvm.compiler.nodes.CallTargetNode$InvokeKind of org.graalvm.compiler.nodes.CallTargetNode
org.graalvm.compiler.replacements.MethodHandlePlugin$1
public abstract GraphAdder = org.graalvm.compiler.replacements.nodes.MethodHandleNode$GraphAdder of org.graalvm.compiler.replacements.nodes.MethodHandleNode