public final class org.graalvm.compiler.hotspot.replacements.ObjectCloneNode extends org.graalvm.compiler.replacements.nodes.BasicObjectCloneNode implements org.graalvm.compiler.nodes.spi.VirtualizableAllocation, org.graalvm.compiler.nodes.spi.ArrayLengthProvider
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.graalvm.compiler.hotspot.replacements.ObjectCloneNode
super_class: org.graalvm.compiler.replacements.nodes.BasicObjectCloneNode
{
public static final org.graalvm.compiler.graph.NodeClass<org.graalvm.compiler.hotspot.replacements.ObjectCloneNode> TYPE;
descriptor: Lorg/graalvm/compiler/graph/NodeClass;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Lorg/graalvm/compiler/graph/NodeClass<Lorg/graalvm/compiler/hotspot/replacements/ObjectCloneNode;>;
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/hotspot/replacements/ObjectCloneNode;
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.hotspot.replacements.ObjectCloneNode.$assertionsDisabled:Z
3: ldc Lorg/graalvm/compiler/hotspot/replacements/ObjectCloneNode;
invokestatic org.graalvm.compiler.graph.NodeClass.create:(Ljava/lang/Class;)Lorg/graalvm/compiler/graph/NodeClass;
putstatic org.graalvm.compiler.hotspot.replacements.ObjectCloneNode.TYPE:Lorg/graalvm/compiler/graph/NodeClass;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.graalvm.compiler.nodes.CallTargetNode$InvokeKind, jdk.vm.ci.meta.ResolvedJavaMethod, int, org.graalvm.compiler.core.common.type.StampPair, org.graalvm.compiler.nodes.ValueNode);
descriptor: (Lorg/graalvm/compiler/nodes/CallTargetNode$InvokeKind;Ljdk/vm/ci/meta/ResolvedJavaMethod;ILorg/graalvm/compiler/core/common/type/StampPair;Lorg/graalvm/compiler/nodes/ValueNode;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
getstatic org.graalvm.compiler.hotspot.replacements.ObjectCloneNode.TYPE:Lorg/graalvm/compiler/graph/NodeClass;
aload 1
aload 2
iload 3
aload 4
iconst_1
anewarray org.graalvm.compiler.nodes.ValueNode
dup
iconst_0
aload 5
aastore
invokespecial org.graalvm.compiler.replacements.nodes.BasicObjectCloneNode.<init>:(Lorg/graalvm/compiler/graph/NodeClass;Lorg/graalvm/compiler/nodes/CallTargetNode$InvokeKind;Ljdk/vm/ci/meta/ResolvedJavaMethod;ILorg/graalvm/compiler/core/common/type/StampPair;[Lorg/graalvm/compiler/nodes/ValueNode;)V
1: 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 2 0 this Lorg/graalvm/compiler/hotspot/replacements/ObjectCloneNode;
0 2 1 invokeKind Lorg/graalvm/compiler/nodes/CallTargetNode$InvokeKind;
0 2 2 targetMethod Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 2 3 bci I
0 2 4 returnStamp Lorg/graalvm/compiler/core/common/type/StampPair;
0 2 5 receiver Lorg/graalvm/compiler/nodes/ValueNode;
MethodParameters:
Name Flags
invokeKind
targetMethod
bci
returnStamp
receiver
protected org.graalvm.compiler.nodes.StructuredGraph getLoweredSnippetGraph(org.graalvm.compiler.nodes.spi.LoweringTool);
descriptor: (Lorg/graalvm/compiler/nodes/spi/LoweringTool;)Lorg/graalvm/compiler/nodes/StructuredGraph;
flags: (0x0004) ACC_PROTECTED
Code:
stack=8, locals=13, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.graalvm.compiler.hotspot.replacements.ObjectCloneNode.getObject:()Lorg/graalvm/compiler/nodes/ValueNode;
invokestatic org.graalvm.compiler.nodes.type.StampTool.typeOrNull:(Lorg/graalvm/compiler/nodes/ValueNode;)Ljdk/vm/ci/meta/ResolvedJavaType;
astore 2
start local 2 1: aload 2
ifnull 41
2: aload 2
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.isArray:()Z
ifeq 22
3: getstatic org.graalvm.compiler.hotspot.replacements.ObjectCloneSnippets.arrayCloneMethods:Ljava/util/EnumMap;
aload 2
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.getComponentType:()Ljdk/vm/ci/meta/ResolvedJavaType;
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.getJavaKind:()Ljdk/vm/ci/meta/JavaKind;
invokevirtual java.util.EnumMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.reflect.Method
astore 3
start local 3 4: aload 3
ifnull 21
5: aload 1
invokeinterface org.graalvm.compiler.nodes.spi.LoweringTool.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
aload 3
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.lookupJavaMethod:(Ljava/lang/reflect/Executable;)Ljdk/vm/ci/meta/ResolvedJavaMethod;
astore 4
start local 4 6: aload 1
invokeinterface org.graalvm.compiler.nodes.spi.LoweringTool.getReplacements:()Lorg/graalvm/compiler/nodes/spi/Replacements;
astore 5
start local 5 7: aconst_null
astore 6
start local 6 8: aconst_null
astore 7
aconst_null
astore 8
9: ldc "ArrayCloneSnippet"
aload 4
invokestatic org.graalvm.compiler.debug.Debug.scope:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/graalvm/compiler/debug/Debug$Scope;
astore 9
start local 9 10: aload 5
aload 4
aconst_null
invokeinterface org.graalvm.compiler.nodes.spi.Replacements.getSnippet:(Ljdk/vm/ci/meta/ResolvedJavaMethod;[Ljava/lang/Object;)Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 6
11: aload 9
ifnull 19
aload 9
invokeinterface org.graalvm.compiler.debug.Debug$Scope.close:()V
goto 19
StackMap locals: org.graalvm.compiler.hotspot.replacements.ObjectCloneNode org.graalvm.compiler.nodes.spi.LoweringTool jdk.vm.ci.meta.ResolvedJavaType java.lang.reflect.Method jdk.vm.ci.meta.ResolvedJavaMethod org.graalvm.compiler.nodes.spi.Replacements org.graalvm.compiler.nodes.StructuredGraph java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Debug$Scope
StackMap stack: java.lang.Throwable
12: astore 7
aload 9
ifnull 13
aload 9
invokeinterface org.graalvm.compiler.debug.Debug$Scope.close:()V
end local 9 StackMap locals:
StackMap stack:
13: aload 7
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
14: astore 8
aload 7
ifnonnull 15
aload 8
astore 7
goto 16
StackMap locals:
StackMap stack:
15: aload 7
aload 8
if_acmpeq 16
aload 7
aload 8
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
16: aload 7
athrow
StackMap locals: org.graalvm.compiler.hotspot.replacements.ObjectCloneNode org.graalvm.compiler.nodes.spi.LoweringTool jdk.vm.ci.meta.ResolvedJavaType java.lang.reflect.Method jdk.vm.ci.meta.ResolvedJavaMethod org.graalvm.compiler.nodes.spi.Replacements org.graalvm.compiler.nodes.StructuredGraph
StackMap stack: java.lang.Throwable
17: astore 7
start local 7 18: aload 7
invokestatic org.graalvm.compiler.debug.Debug.handle:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 7 19: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.hotspot.replacements.ObjectCloneNode.$assertionsDisabled:Z
ifne 20
aload 6
ifnonnull 20
new java.lang.AssertionError
dup
ldc "ObjectCloneSnippets should be installed"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
20: StackMap locals:
StackMap stack:
aload 0
aload 6
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.copy:()Lorg/graalvm/compiler/graph/Graph;
checkcast org.graalvm.compiler.nodes.StructuredGraph
aload 1
invokevirtual org.graalvm.compiler.hotspot.replacements.ObjectCloneNode.lowerReplacement:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/spi/LoweringTool;)Lorg/graalvm/compiler/nodes/StructuredGraph;
areturn
end local 6 end local 5 end local 4 21: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.hotspot.replacements.ObjectCloneNode.$assertionsDisabled:Z
ifne 41
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "unhandled array type "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.getComponentType:()Ljdk/vm/ci/meta/ResolvedJavaType;
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.getJavaKind:()Ljdk/vm/ci/meta/JavaKind;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 3 22: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.hotspot.replacements.ObjectCloneNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getAssumptions:()Ljdk/vm/ci/meta/Assumptions;
astore 3
start local 3 23: aload 0
invokevirtual org.graalvm.compiler.hotspot.replacements.ObjectCloneNode.getObject:()Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.nodes.ValueNode.stamp:()Lorg/graalvm/compiler/core/common/type/Stamp;
invokestatic org.graalvm.compiler.hotspot.replacements.ObjectCloneNode.getConcreteType:(Lorg/graalvm/compiler/core/common/type/Stamp;)Ljdk/vm/ci/meta/ResolvedJavaType;
astore 2
24: aload 2
ifnull 41
25: new org.graalvm.compiler.nodes.StructuredGraph
dup
aload 3
ifnull 26
iconst_1
goto 27
StackMap locals: org.graalvm.compiler.hotspot.replacements.ObjectCloneNode org.graalvm.compiler.nodes.spi.LoweringTool jdk.vm.ci.meta.ResolvedJavaType jdk.vm.ci.meta.Assumptions
StackMap stack: new 25 new 25
26: iconst_0
StackMap locals: org.graalvm.compiler.hotspot.replacements.ObjectCloneNode org.graalvm.compiler.nodes.spi.LoweringTool jdk.vm.ci.meta.ResolvedJavaType jdk.vm.ci.meta.Assumptions
StackMap stack: new 25 new 25 int
27: 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>:(Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;Lorg/graalvm/compiler/core/common/CompilationIdentifier;)V
astore 4
start local 4 28: aload 4
new org.graalvm.compiler.nodes.ParameterNode
dup
iconst_0
aload 0
invokevirtual org.graalvm.compiler.hotspot.replacements.ObjectCloneNode.getObject:()Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.nodes.ValueNode.stamp:()Lorg/graalvm/compiler/core/common/type/Stamp;
invokestatic org.graalvm.compiler.core.common.type.StampPair.createSingle:(Lorg/graalvm/compiler/core/common/type/Stamp;)Lorg/graalvm/compiler/core/common/type/StampPair;
invokespecial org.graalvm.compiler.nodes.ParameterNode.<init>:(ILorg/graalvm/compiler/core/common/type/StampPair;)V
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.addWithoutUnique:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.ParameterNode
astore 5
start local 5 29: aload 4
new org.graalvm.compiler.nodes.java.NewInstanceNode
dup
aload 2
iconst_1
invokespecial org.graalvm.compiler.nodes.java.NewInstanceNode.<init>:(Ljdk/vm/ci/meta/ResolvedJavaType;Z)V
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.add:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.java.NewInstanceNode
astore 6
start local 6 30: aload 4
aload 4
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.start:()Lorg/graalvm/compiler/nodes/StartNode;
aload 6
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.addAfterFixed:(Lorg/graalvm/compiler/nodes/FixedWithNextNode;Lorg/graalvm/compiler/nodes/FixedNode;)V
31: aload 4
new org.graalvm.compiler.nodes.ReturnNode
dup
aload 6
invokespecial org.graalvm.compiler.nodes.ReturnNode.<init>:(Lorg/graalvm/compiler/nodes/ValueNode;)V
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.add:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.ReturnNode
astore 7
start local 7 32: aload 4
aload 6
aload 7
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.addAfterFixed:(Lorg/graalvm/compiler/nodes/FixedWithNextNode;Lorg/graalvm/compiler/nodes/FixedNode;)V
33: aload 2
iconst_1
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.getInstanceFields:(Z)[Ljdk/vm/ci/meta/ResolvedJavaField;
dup
astore 11
arraylength
istore 10
iconst_0
istore 9
goto 39
StackMap locals: org.graalvm.compiler.hotspot.replacements.ObjectCloneNode org.graalvm.compiler.nodes.spi.LoweringTool jdk.vm.ci.meta.ResolvedJavaType jdk.vm.ci.meta.Assumptions org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.ParameterNode org.graalvm.compiler.nodes.java.NewInstanceNode org.graalvm.compiler.nodes.ReturnNode top int int jdk.vm.ci.meta.ResolvedJavaField[]
StackMap stack:
34: aload 11
iload 9
aaload
astore 8
start local 8 35: aload 4
aload 4
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getAssumptions:()Ljdk/vm/ci/meta/Assumptions;
aload 5
aload 8
invokestatic org.graalvm.compiler.nodes.java.LoadFieldNode.create:(Ljdk/vm/ci/meta/Assumptions;Lorg/graalvm/compiler/nodes/ValueNode;Ljdk/vm/ci/meta/ResolvedJavaField;)Lorg/graalvm/compiler/nodes/java/LoadFieldNode;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.add:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.java.LoadFieldNode
astore 12
start local 12 36: aload 4
aload 7
aload 12
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.addBeforeFixed:(Lorg/graalvm/compiler/nodes/FixedNode;Lorg/graalvm/compiler/nodes/FixedWithNextNode;)V
37: aload 4
aload 7
aload 4
new org.graalvm.compiler.nodes.java.StoreFieldNode
dup
aload 6
aload 8
aload 12
invokespecial org.graalvm.compiler.nodes.java.StoreFieldNode.<init>:(Lorg/graalvm/compiler/nodes/ValueNode;Ljdk/vm/ci/meta/ResolvedJavaField;Lorg/graalvm/compiler/nodes/ValueNode;)V
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.add:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.FixedWithNextNode
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.addBeforeFixed:(Lorg/graalvm/compiler/nodes/FixedNode;Lorg/graalvm/compiler/nodes/FixedWithNextNode;)V
end local 12 end local 8 38: iinc 9 1
StackMap locals:
StackMap stack:
39: iload 9
iload 10
if_icmplt 34
40: aload 0
aload 4
aload 1
invokevirtual org.graalvm.compiler.hotspot.replacements.ObjectCloneNode.lowerReplacement:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/spi/LoweringTool;)Lorg/graalvm/compiler/nodes/StructuredGraph;
areturn
end local 7 end local 6 end local 5 end local 4 end local 3 41: StackMap locals: org.graalvm.compiler.hotspot.replacements.ObjectCloneNode org.graalvm.compiler.nodes.spi.LoweringTool jdk.vm.ci.meta.ResolvedJavaType
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 42 0 this Lorg/graalvm/compiler/hotspot/replacements/ObjectCloneNode;
0 42 1 tool Lorg/graalvm/compiler/nodes/spi/LoweringTool;
1 42 2 type Ljdk/vm/ci/meta/ResolvedJavaType;
4 22 3 method Ljava/lang/reflect/Method;
6 21 4 snippetMethod Ljdk/vm/ci/meta/ResolvedJavaMethod;
7 21 5 replacements Lorg/graalvm/compiler/nodes/spi/Replacements;
8 21 6 snippetGraph Lorg/graalvm/compiler/nodes/StructuredGraph;
10 13 9 s Lorg/graalvm/compiler/debug/Debug$Scope;
18 19 7 e Ljava/lang/Throwable;
23 41 3 assumptions Ljdk/vm/ci/meta/Assumptions;
28 41 4 newGraph Lorg/graalvm/compiler/nodes/StructuredGraph;
29 41 5 param Lorg/graalvm/compiler/nodes/ParameterNode;
30 41 6 newInstance Lorg/graalvm/compiler/nodes/java/NewInstanceNode;
32 41 7 returnNode Lorg/graalvm/compiler/nodes/ReturnNode;
35 38 8 field Ljdk/vm/ci/meta/ResolvedJavaField;
36 38 12 load Lorg/graalvm/compiler/nodes/java/LoadFieldNode;
Exception table:
from to target type
10 11 12 any
9 14 14 any
8 17 17 Class java.lang.Throwable
MethodParameters:
Name Flags
tool
}
SourceFile: "ObjectCloneNode.java"
InnerClasses:
public abstract Scope = org.graalvm.compiler.debug.Debug$Scope of org.graalvm.compiler.debug.Debug
public final InvokeKind = org.graalvm.compiler.nodes.CallTargetNode$InvokeKind of org.graalvm.compiler.nodes.CallTargetNode
public final AllowAssumptions = org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions of org.graalvm.compiler.nodes.StructuredGraph
RuntimeVisibleAnnotations:
org.graalvm.compiler.nodeinfo.NodeInfo()