public abstract class org.graalvm.compiler.replacements.nodes.BasicObjectCloneNode extends org.graalvm.compiler.replacements.nodes.MacroStateSplitNode implements org.graalvm.compiler.nodes.spi.VirtualizableAllocation, org.graalvm.compiler.nodes.spi.ArrayLengthProvider
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.graalvm.compiler.replacements.nodes.BasicObjectCloneNode
super_class: org.graalvm.compiler.replacements.nodes.MacroStateSplitNode
{
public static final org.graalvm.compiler.graph.NodeClass<org.graalvm.compiler.replacements.nodes.BasicObjectCloneNode> TYPE;
descriptor: Lorg/graalvm/compiler/graph/NodeClass;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Lorg/graalvm/compiler/graph/NodeClass<Lorg/graalvm/compiler/replacements/nodes/BasicObjectCloneNode;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/graalvm/compiler/replacements/nodes/BasicObjectCloneNode;
invokestatic org.graalvm.compiler.graph.NodeClass.create:(Ljava/lang/Class;)Lorg/graalvm/compiler/graph/NodeClass;
putstatic org.graalvm.compiler.replacements.nodes.BasicObjectCloneNode.TYPE:Lorg/graalvm/compiler/graph/NodeClass;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.graalvm.compiler.graph.NodeClass<? extends org.graalvm.compiler.replacements.nodes.MacroNode>, 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/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
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=7, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
aload 1
aload 2
aload 3
iload 4
aload 5
aload 6
invokespecial org.graalvm.compiler.replacements.nodes.MacroStateSplitNode.<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: aload 0
aload 0
invokevirtual org.graalvm.compiler.replacements.nodes.BasicObjectCloneNode.getObject:()Lorg/graalvm/compiler/nodes/ValueNode;
invokestatic org.graalvm.compiler.replacements.nodes.BasicObjectCloneNode.computeStamp:(Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/core/common/type/Stamp;
invokevirtual org.graalvm.compiler.replacements.nodes.BasicObjectCloneNode.updateStamp:(Lorg/graalvm/compiler/core/common/type/Stamp;)Z
pop
2: 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 3 0 this Lorg/graalvm/compiler/replacements/nodes/BasicObjectCloneNode;
0 3 1 c Lorg/graalvm/compiler/graph/NodeClass<+Lorg/graalvm/compiler/replacements/nodes/MacroNode;>;
0 3 2 invokeKind Lorg/graalvm/compiler/nodes/CallTargetNode$InvokeKind;
0 3 3 targetMethod Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 3 4 bci I
0 3 5 returnStamp Lorg/graalvm/compiler/core/common/type/StampPair;
0 3 6 arguments [Lorg/graalvm/compiler/nodes/ValueNode;
Signature: (Lorg/graalvm/compiler/graph/NodeClass<+Lorg/graalvm/compiler/replacements/nodes/MacroNode;>;Lorg/graalvm/compiler/nodes/CallTargetNode$InvokeKind;Ljdk/vm/ci/meta/ResolvedJavaMethod;ILorg/graalvm/compiler/core/common/type/StampPair;[Lorg/graalvm/compiler/nodes/ValueNode;)V
MethodParameters:
Name Flags
c
invokeKind
targetMethod
bci
returnStamp
arguments
public boolean inferStamp();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokevirtual org.graalvm.compiler.replacements.nodes.BasicObjectCloneNode.getObject:()Lorg/graalvm/compiler/nodes/ValueNode;
invokestatic org.graalvm.compiler.replacements.nodes.BasicObjectCloneNode.computeStamp:(Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/core/common/type/Stamp;
invokevirtual org.graalvm.compiler.replacements.nodes.BasicObjectCloneNode.updateStamp:(Lorg/graalvm/compiler/core/common/type/Stamp;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/nodes/BasicObjectCloneNode;
private static org.graalvm.compiler.core.common.type.Stamp computeStamp(org.graalvm.compiler.nodes.ValueNode);
descriptor: (Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/core/common/type/Stamp;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.compiler.nodes.ValueNode.stamp:()Lorg/graalvm/compiler/core/common/type/Stamp;
astore 1
start local 1 1: aload 1
instanceof org.graalvm.compiler.core.common.type.ObjectStamp
ifeq 3
2: aload 1
invokestatic org.graalvm.compiler.core.common.type.StampFactory.objectNonNull:()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 1
3: StackMap locals: org.graalvm.compiler.core.common.type.Stamp
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 object Lorg/graalvm/compiler/nodes/ValueNode;
1 4 1 objectStamp Lorg/graalvm/compiler/core/common/type/Stamp;
MethodParameters:
Name Flags
object
public org.graalvm.compiler.nodes.ValueNode getObject();
descriptor: ()Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.replacements.nodes.BasicObjectCloneNode.arguments:Lorg/graalvm/compiler/graph/NodeInputList;
iconst_0
invokevirtual org.graalvm.compiler.graph.NodeInputList.get:(I)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.ValueNode
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/nodes/BasicObjectCloneNode;
protected static jdk.vm.ci.meta.ResolvedJavaType getConcreteType(org.graalvm.compiler.core.common.type.Stamp);
descriptor: (Lorg/graalvm/compiler/core/common/type/Stamp;)Ljdk/vm/ci/meta/ResolvedJavaType;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
instanceof org.graalvm.compiler.core.common.type.ObjectStamp
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
checkcast org.graalvm.compiler.core.common.type.ObjectStamp
astore 1
start local 1 3: aload 1
invokevirtual org.graalvm.compiler.core.common.type.ObjectStamp.type:()Ljdk/vm/ci/meta/ResolvedJavaType;
ifnonnull 5
4: aconst_null
areturn
5: StackMap locals: org.graalvm.compiler.core.common.type.ObjectStamp
StackMap stack:
aload 1
invokevirtual org.graalvm.compiler.core.common.type.ObjectStamp.isExactType:()Z
ifeq 9
6: aload 1
invokevirtual org.graalvm.compiler.core.common.type.ObjectStamp.type:()Ljdk/vm/ci/meta/ResolvedJavaType;
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.isCloneableWithAllocation:()Z
ifeq 7
aload 1
invokevirtual org.graalvm.compiler.core.common.type.ObjectStamp.type:()Ljdk/vm/ci/meta/ResolvedJavaType;
goto 8
StackMap locals:
StackMap stack:
7: aconst_null
StackMap locals:
StackMap stack: jdk.vm.ci.meta.ResolvedJavaType
8: areturn
9: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 stamp Lorg/graalvm/compiler/core/common/type/Stamp;
3 10 1 objectStamp Lorg/graalvm/compiler/core/common/type/ObjectStamp;
MethodParameters:
Name Flags
stamp
protected org.graalvm.compiler.nodes.java.LoadFieldNode genLoadFieldNode(jdk.vm.ci.meta.Assumptions, org.graalvm.compiler.nodes.ValueNode, jdk.vm.ci.meta.ResolvedJavaField);
descriptor: (Ljdk/vm/ci/meta/Assumptions;Lorg/graalvm/compiler/nodes/ValueNode;Ljdk/vm/ci/meta/ResolvedJavaField;)Lorg/graalvm/compiler/nodes/java/LoadFieldNode;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aload 2
aload 3
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;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/nodes/BasicObjectCloneNode;
0 1 1 assumptions Ljdk/vm/ci/meta/Assumptions;
0 1 2 originalAlias Lorg/graalvm/compiler/nodes/ValueNode;
0 1 3 field Ljdk/vm/ci/meta/ResolvedJavaField;
MethodParameters:
Name Flags
assumptions
originalAlias
field
public void virtualize(org.graalvm.compiler.nodes.spi.VirtualizerTool);
descriptor: (Lorg/graalvm/compiler/nodes/spi/VirtualizerTool;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=9, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual org.graalvm.compiler.replacements.nodes.BasicObjectCloneNode.getObject:()Lorg/graalvm/compiler/nodes/ValueNode;
invokeinterface org.graalvm.compiler.nodes.spi.VirtualizerTool.getAlias:(Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
astore 2
start local 2 1: aload 2
instanceof org.graalvm.compiler.nodes.virtual.VirtualObjectNode
ifeq 14
2: aload 2
checkcast org.graalvm.compiler.nodes.virtual.VirtualObjectNode
astore 3
start local 3 3: aload 3
invokevirtual org.graalvm.compiler.nodes.virtual.VirtualObjectNode.type:()Ljdk/vm/ci/meta/ResolvedJavaType;
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.isCloneableWithAllocation:()Z
ifeq 28
4: aload 3
invokevirtual org.graalvm.compiler.nodes.virtual.VirtualObjectNode.entryCount:()I
anewarray org.graalvm.compiler.nodes.ValueNode
astore 4
start local 4 5: iconst_0
istore 5
start local 5 6: goto 9
7: StackMap locals: org.graalvm.compiler.replacements.nodes.BasicObjectCloneNode org.graalvm.compiler.nodes.spi.VirtualizerTool org.graalvm.compiler.nodes.ValueNode org.graalvm.compiler.nodes.virtual.VirtualObjectNode org.graalvm.compiler.nodes.ValueNode[] int
StackMap stack:
aload 4
iload 5
aload 1
aload 3
iload 5
invokeinterface org.graalvm.compiler.nodes.spi.VirtualizerTool.getEntry:(Lorg/graalvm/compiler/nodes/virtual/VirtualObjectNode;I)Lorg/graalvm/compiler/nodes/ValueNode;
aastore
8: iinc 5 1
StackMap locals:
StackMap stack:
9: iload 5
aload 4
arraylength
if_icmplt 7
end local 5 10: aload 3
invokevirtual org.graalvm.compiler.nodes.virtual.VirtualObjectNode.duplicate:()Lorg/graalvm/compiler/nodes/virtual/VirtualObjectNode;
astore 5
start local 5 11: aload 1
aload 5
aload 4
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
iconst_0
invokeinterface org.graalvm.compiler.nodes.spi.VirtualizerTool.createVirtualObject:(Lorg/graalvm/compiler/nodes/virtual/VirtualObjectNode;[Lorg/graalvm/compiler/nodes/ValueNode;Ljava/util/List;Z)V
12: aload 1
aload 5
invokeinterface org.graalvm.compiler.nodes.spi.VirtualizerTool.replaceWithVirtual:(Lorg/graalvm/compiler/nodes/virtual/VirtualObjectNode;)V
end local 5 end local 4 end local 3 13: goto 28
14: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.graalvm.compiler.nodes.ValueNode.stamp:()Lorg/graalvm/compiler/core/common/type/Stamp;
invokestatic org.graalvm.compiler.replacements.nodes.BasicObjectCloneNode.getConcreteType:(Lorg/graalvm/compiler/core/common/type/Stamp;)Ljdk/vm/ci/meta/ResolvedJavaType;
astore 3
start local 3 15: aload 3
ifnull 28
aload 3
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.isArray:()Z
ifne 28
16: aload 0
aload 3
iconst_1
invokevirtual org.graalvm.compiler.replacements.nodes.BasicObjectCloneNode.createVirtualInstanceNode:(Ljdk/vm/ci/meta/ResolvedJavaType;Z)Lorg/graalvm/compiler/nodes/virtual/VirtualInstanceNode;
astore 4
start local 4 17: aload 4
invokevirtual org.graalvm.compiler.nodes.virtual.VirtualInstanceNode.getFields:()[Ljdk/vm/ci/meta/ResolvedJavaField;
astore 5
start local 5 18: aload 5
arraylength
anewarray org.graalvm.compiler.nodes.ValueNode
astore 6
start local 6 19: aload 5
arraylength
anewarray org.graalvm.compiler.nodes.java.LoadFieldNode
astore 7
start local 7 20: iconst_0
istore 8
start local 8 21: goto 25
22: StackMap locals: org.graalvm.compiler.replacements.nodes.BasicObjectCloneNode org.graalvm.compiler.nodes.spi.VirtualizerTool org.graalvm.compiler.nodes.ValueNode jdk.vm.ci.meta.ResolvedJavaType org.graalvm.compiler.nodes.virtual.VirtualInstanceNode jdk.vm.ci.meta.ResolvedJavaField[] org.graalvm.compiler.nodes.ValueNode[] org.graalvm.compiler.nodes.java.LoadFieldNode[] int
StackMap stack:
aload 6
iload 8
aload 7
iload 8
aload 0
aload 0
invokevirtual org.graalvm.compiler.replacements.nodes.BasicObjectCloneNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getAssumptions:()Ljdk/vm/ci/meta/Assumptions;
aload 2
aload 5
iload 8
aaload
invokevirtual org.graalvm.compiler.replacements.nodes.BasicObjectCloneNode.genLoadFieldNode:(Ljdk/vm/ci/meta/Assumptions;Lorg/graalvm/compiler/nodes/ValueNode;Ljdk/vm/ci/meta/ResolvedJavaField;)Lorg/graalvm/compiler/nodes/java/LoadFieldNode;
dup_x2
aastore
aastore
23: aload 1
aload 7
iload 8
aaload
invokeinterface org.graalvm.compiler.nodes.spi.VirtualizerTool.addNode:(Lorg/graalvm/compiler/nodes/ValueNode;)V
24: iinc 8 1
StackMap locals:
StackMap stack:
25: iload 8
aload 5
arraylength
if_icmplt 22
end local 8 26: aload 1
aload 4
aload 6
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
iconst_0
invokeinterface org.graalvm.compiler.nodes.spi.VirtualizerTool.createVirtualObject:(Lorg/graalvm/compiler/nodes/virtual/VirtualObjectNode;[Lorg/graalvm/compiler/nodes/ValueNode;Ljava/util/List;Z)V
27: aload 1
aload 4
invokeinterface org.graalvm.compiler.nodes.spi.VirtualizerTool.replaceWithVirtual:(Lorg/graalvm/compiler/nodes/virtual/VirtualObjectNode;)V
end local 7 end local 6 end local 5 end local 4 end local 3 28: StackMap locals: org.graalvm.compiler.replacements.nodes.BasicObjectCloneNode org.graalvm.compiler.nodes.spi.VirtualizerTool org.graalvm.compiler.nodes.ValueNode
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lorg/graalvm/compiler/replacements/nodes/BasicObjectCloneNode;
0 29 1 tool Lorg/graalvm/compiler/nodes/spi/VirtualizerTool;
1 29 2 originalAlias Lorg/graalvm/compiler/nodes/ValueNode;
3 13 3 originalVirtual Lorg/graalvm/compiler/nodes/virtual/VirtualObjectNode;
5 13 4 newEntryState [Lorg/graalvm/compiler/nodes/ValueNode;
6 10 5 i I
11 13 5 newVirtual Lorg/graalvm/compiler/nodes/virtual/VirtualObjectNode;
15 28 3 type Ljdk/vm/ci/meta/ResolvedJavaType;
17 28 4 newVirtual Lorg/graalvm/compiler/nodes/virtual/VirtualInstanceNode;
18 28 5 fields [Ljdk/vm/ci/meta/ResolvedJavaField;
19 28 6 state [Lorg/graalvm/compiler/nodes/ValueNode;
20 28 7 loads [Lorg/graalvm/compiler/nodes/java/LoadFieldNode;
21 26 8 i I
MethodParameters:
Name Flags
tool
protected org.graalvm.compiler.nodes.virtual.VirtualInstanceNode createVirtualInstanceNode(jdk.vm.ci.meta.ResolvedJavaType, boolean);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaType;Z)Lorg/graalvm/compiler/nodes/virtual/VirtualInstanceNode;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new org.graalvm.compiler.nodes.virtual.VirtualInstanceNode
dup
aload 1
iload 2
invokespecial org.graalvm.compiler.nodes.virtual.VirtualInstanceNode.<init>:(Ljdk/vm/ci/meta/ResolvedJavaType;Z)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/nodes/BasicObjectCloneNode;
0 1 1 type Ljdk/vm/ci/meta/ResolvedJavaType;
0 1 2 hasIdentity Z
MethodParameters:
Name Flags
type
hasIdentity
public org.graalvm.compiler.nodes.ValueNode length();
descriptor: ()Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.compiler.replacements.nodes.BasicObjectCloneNode.getObject:()Lorg/graalvm/compiler/nodes/ValueNode;
invokestatic org.graalvm.compiler.nodes.util.GraphUtil.arrayLength:(Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/nodes/BasicObjectCloneNode;
}
SourceFile: "BasicObjectCloneNode.java"
InnerClasses:
public final InvokeKind = org.graalvm.compiler.nodes.CallTargetNode$InvokeKind of org.graalvm.compiler.nodes.CallTargetNode
RuntimeVisibleAnnotations:
org.graalvm.compiler.nodeinfo.NodeInfo()