public class org.graalvm.compiler.nodes.java.NewInstanceNode extends org.graalvm.compiler.nodes.java.AbstractNewObjectNode implements org.graalvm.compiler.nodes.spi.VirtualizableAllocation
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.nodes.java.NewInstanceNode
super_class: org.graalvm.compiler.nodes.java.AbstractNewObjectNode
{
public static final org.graalvm.compiler.graph.NodeClass<org.graalvm.compiler.nodes.java.NewInstanceNode> TYPE;
descriptor: Lorg/graalvm/compiler/graph/NodeClass;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Lorg/graalvm/compiler/graph/NodeClass<Lorg/graalvm/compiler/nodes/java/NewInstanceNode;>;
protected final jdk.vm.ci.meta.ResolvedJavaType instanceClass;
descriptor: Ljdk/vm/ci/meta/ResolvedJavaType;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
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/nodes/java/NewInstanceNode;
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.nodes.java.NewInstanceNode.$assertionsDisabled:Z
3: ldc Lorg/graalvm/compiler/nodes/java/NewInstanceNode;
invokestatic org.graalvm.compiler.graph.NodeClass.create:(Ljava/lang/Class;)Lorg/graalvm/compiler/graph/NodeClass;
putstatic org.graalvm.compiler.nodes.java.NewInstanceNode.TYPE:Lorg/graalvm/compiler/graph/NodeClass;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(jdk.vm.ci.meta.ResolvedJavaType, boolean);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaType;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getstatic org.graalvm.compiler.nodes.java.NewInstanceNode.TYPE:Lorg/graalvm/compiler/graph/NodeClass;
aload 1
iload 2
aconst_null
invokespecial org.graalvm.compiler.nodes.java.NewInstanceNode.<init>:(Lorg/graalvm/compiler/graph/NodeClass;Ljdk/vm/ci/meta/ResolvedJavaType;ZLorg/graalvm/compiler/nodes/FrameState;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/nodes/java/NewInstanceNode;
0 2 1 type Ljdk/vm/ci/meta/ResolvedJavaType;
0 2 2 fillContents Z
MethodParameters:
Name Flags
type
fillContents
public void <init>(jdk.vm.ci.meta.ResolvedJavaType, boolean, org.graalvm.compiler.nodes.FrameState);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaType;ZLorg/graalvm/compiler/nodes/FrameState;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getstatic org.graalvm.compiler.nodes.java.NewInstanceNode.TYPE:Lorg/graalvm/compiler/graph/NodeClass;
aload 1
iload 2
aload 3
invokespecial org.graalvm.compiler.nodes.java.NewInstanceNode.<init>:(Lorg/graalvm/compiler/graph/NodeClass;Ljdk/vm/ci/meta/ResolvedJavaType;ZLorg/graalvm/compiler/nodes/FrameState;)V
1: return
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/nodes/java/NewInstanceNode;
0 2 1 type Ljdk/vm/ci/meta/ResolvedJavaType;
0 2 2 fillContents Z
0 2 3 stateBefore Lorg/graalvm/compiler/nodes/FrameState;
MethodParameters:
Name Flags
type
fillContents
stateBefore
protected void <init>(org.graalvm.compiler.graph.NodeClass<? extends org.graalvm.compiler.nodes.java.NewInstanceNode>, jdk.vm.ci.meta.ResolvedJavaType, boolean, org.graalvm.compiler.nodes.FrameState);
descriptor: (Lorg/graalvm/compiler/graph/NodeClass;Ljdk/vm/ci/meta/ResolvedJavaType;ZLorg/graalvm/compiler/nodes/FrameState;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
invokestatic org.graalvm.compiler.core.common.type.TypeReference.createExactTrusted:(Ljdk/vm/ci/meta/ResolvedJavaType;)Lorg/graalvm/compiler/core/common/type/TypeReference;
invokestatic org.graalvm.compiler.core.common.type.StampFactory.objectNonNull:(Lorg/graalvm/compiler/core/common/type/TypeReference;)Lorg/graalvm/compiler/core/common/type/ObjectStamp;
iload 3
aload 4
invokespecial org.graalvm.compiler.nodes.java.AbstractNewObjectNode.<init>:(Lorg/graalvm/compiler/graph/NodeClass;Lorg/graalvm/compiler/core/common/type/Stamp;ZLorg/graalvm/compiler/nodes/FrameState;)V
1: getstatic org.graalvm.compiler.nodes.java.NewInstanceNode.$assertionsDisabled:Z
ifne 3
aload 2
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.isArray:()Z
ifne 2
aload 2
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.isInterface:()Z
ifne 2
aload 2
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.isPrimitive:()Z
ifne 2
aload 2
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.isAbstract:()Z
ifeq 3
StackMap locals: org.graalvm.compiler.nodes.java.NewInstanceNode org.graalvm.compiler.graph.NodeClass jdk.vm.ci.meta.ResolvedJavaType int org.graalvm.compiler.nodes.FrameState
StackMap stack:
2: new java.lang.AssertionError
dup
aload 2
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
aload 2
putfield org.graalvm.compiler.nodes.java.NewInstanceNode.instanceClass:Ljdk/vm/ci/meta/ResolvedJavaType;
4: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/nodes/java/NewInstanceNode;
0 5 1 c Lorg/graalvm/compiler/graph/NodeClass<+Lorg/graalvm/compiler/nodes/java/NewInstanceNode;>;
0 5 2 type Ljdk/vm/ci/meta/ResolvedJavaType;
0 5 3 fillContents Z
0 5 4 stateBefore Lorg/graalvm/compiler/nodes/FrameState;
Signature: (Lorg/graalvm/compiler/graph/NodeClass<+Lorg/graalvm/compiler/nodes/java/NewInstanceNode;>;Ljdk/vm/ci/meta/ResolvedJavaType;ZLorg/graalvm/compiler/nodes/FrameState;)V
MethodParameters:
Name Flags
c
type
fillContents
stateBefore
public jdk.vm.ci.meta.ResolvedJavaType instanceClass();
descriptor: ()Ljdk/vm/ci/meta/ResolvedJavaType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.nodes.java.NewInstanceNode.instanceClass:Ljdk/vm/ci/meta/ResolvedJavaType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/nodes/java/NewInstanceNode;
public void virtualize(org.graalvm.compiler.nodes.spi.VirtualizerTool);
descriptor: (Lorg/graalvm/compiler/nodes/spi/VirtualizerTool;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.graalvm.compiler.nodes.spi.VirtualizerTool.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
ldc Ljava/lang/ref/Reference;
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.lookupJavaType:(Ljava/lang/Class;)Ljdk/vm/ci/meta/ResolvedJavaType;
aload 0
getfield org.graalvm.compiler.nodes.java.NewInstanceNode.instanceClass:Ljdk/vm/ci/meta/ResolvedJavaType;
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.isAssignableFrom:(Ljdk/vm/ci/meta/ResolvedJavaType;)Z
ifne 11
1: aload 0
iconst_1
invokevirtual org.graalvm.compiler.nodes.java.NewInstanceNode.createVirtualInstanceNode:(Z)Lorg/graalvm/compiler/nodes/virtual/VirtualInstanceNode;
astore 2
start local 2 2: aload 2
invokevirtual org.graalvm.compiler.nodes.virtual.VirtualInstanceNode.getFields:()[Ljdk/vm/ci/meta/ResolvedJavaField;
astore 3
start local 3 3: aload 3
arraylength
anewarray org.graalvm.compiler.nodes.ValueNode
astore 4
start local 4 4: iconst_0
istore 5
start local 5 5: goto 8
6: StackMap locals: org.graalvm.compiler.nodes.java.NewInstanceNode org.graalvm.compiler.nodes.spi.VirtualizerTool org.graalvm.compiler.nodes.virtual.VirtualInstanceNode jdk.vm.ci.meta.ResolvedJavaField[] org.graalvm.compiler.nodes.ValueNode[] int
StackMap stack:
aload 4
iload 5
aload 0
aload 3
iload 5
aaload
invokevirtual org.graalvm.compiler.nodes.java.NewInstanceNode.defaultFieldValue:(Ljdk/vm/ci/meta/ResolvedJavaField;)Lorg/graalvm/compiler/nodes/ConstantNode;
aastore
7: iinc 5 1
StackMap locals:
StackMap stack:
8: iload 5
aload 4
arraylength
if_icmplt 6
end local 5 9: aload 1
aload 2
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
10: aload 1
aload 2
invokeinterface org.graalvm.compiler.nodes.spi.VirtualizerTool.replaceWithVirtual:(Lorg/graalvm/compiler/nodes/virtual/VirtualObjectNode;)V
end local 4 end local 3 end local 2 11: StackMap locals: org.graalvm.compiler.nodes.java.NewInstanceNode org.graalvm.compiler.nodes.spi.VirtualizerTool
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/graalvm/compiler/nodes/java/NewInstanceNode;
0 12 1 tool Lorg/graalvm/compiler/nodes/spi/VirtualizerTool;
2 11 2 virtualObject Lorg/graalvm/compiler/nodes/virtual/VirtualInstanceNode;
3 11 3 fields [Ljdk/vm/ci/meta/ResolvedJavaField;
4 11 4 state [Lorg/graalvm/compiler/nodes/ValueNode;
5 9 5 i I
MethodParameters:
Name Flags
tool
protected org.graalvm.compiler.nodes.virtual.VirtualInstanceNode createVirtualInstanceNode(boolean);
descriptor: (Z)Lorg/graalvm/compiler/nodes/virtual/VirtualInstanceNode;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new org.graalvm.compiler.nodes.virtual.VirtualInstanceNode
dup
aload 0
invokevirtual org.graalvm.compiler.nodes.java.NewInstanceNode.instanceClass:()Ljdk/vm/ci/meta/ResolvedJavaType;
iload 1
invokespecial org.graalvm.compiler.nodes.virtual.VirtualInstanceNode.<init>:(Ljdk/vm/ci/meta/ResolvedJavaType;Z)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/nodes/java/NewInstanceNode;
0 1 1 hasIdentity Z
MethodParameters:
Name Flags
hasIdentity
protected org.graalvm.compiler.nodes.ConstantNode defaultFieldValue(jdk.vm.ci.meta.ResolvedJavaField);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaField;)Lorg/graalvm/compiler/nodes/ConstantNode;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface jdk.vm.ci.meta.ResolvedJavaField.getType:()Ljdk/vm/ci/meta/JavaType;
invokeinterface jdk.vm.ci.meta.JavaType.getJavaKind:()Ljdk/vm/ci/meta/JavaKind;
aload 0
invokevirtual org.graalvm.compiler.nodes.java.NewInstanceNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
invokestatic org.graalvm.compiler.nodes.ConstantNode.defaultForKind:(Ljdk/vm/ci/meta/JavaKind;Lorg/graalvm/compiler/nodes/StructuredGraph;)Lorg/graalvm/compiler/nodes/ConstantNode;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/nodes/java/NewInstanceNode;
0 1 1 field Ljdk/vm/ci/meta/ResolvedJavaField;
MethodParameters:
Name Flags
field
}
SourceFile: "NewInstanceNode.java"
RuntimeVisibleAnnotations:
org.graalvm.compiler.nodeinfo.NodeInfo(nameTemplate = "New {p#instanceClass/s}")