public abstract class org.graalvm.compiler.nodes.spi.DefaultNodeCostProvider implements org.graalvm.compiler.nodes.spi.NodeCostProvider
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.graalvm.compiler.nodes.spi.DefaultNodeCostProvider
super_class: java.lang.Object
{
private static volatile int[] $SWITCH_TABLE$org$graalvm$compiler$nodes$CallTargetNode$InvokeKind;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/nodes/spi/DefaultNodeCostProvider;
public final int getEstimatedCodeSize(org.graalvm.compiler.graph.Node);
descriptor: (Lorg/graalvm/compiler/graph/Node;)I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.graalvm.compiler.nodes.spi.DefaultNodeCostProvider.size:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/nodeinfo/NodeSize;
getfield org.graalvm.compiler.nodeinfo.NodeSize.estimatedCodeSize:I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/nodes/spi/DefaultNodeCostProvider;
0 1 1 n Lorg/graalvm/compiler/graph/Node;
MethodParameters:
Name Flags
n
public final int getEstimatedCPUCycles(org.graalvm.compiler.graph.Node);
descriptor: (Lorg/graalvm/compiler/graph/Node;)I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.graalvm.compiler.nodes.spi.DefaultNodeCostProvider.cycles:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/nodeinfo/NodeCycles;
getfield org.graalvm.compiler.nodeinfo.NodeCycles.estimatedCPUCycles:I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/nodes/spi/DefaultNodeCostProvider;
0 1 1 n Lorg/graalvm/compiler/graph/Node;
MethodParameters:
Name Flags
n
public org.graalvm.compiler.nodeinfo.NodeSize size(org.graalvm.compiler.graph.Node);
descriptor: (Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/nodeinfo/NodeSize;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.graalvm.compiler.nodes.Invoke
ifeq 8
1: aload 1
checkcast org.graalvm.compiler.nodes.Invoke
astore 2
start local 2 2: aload 2
invokeinterface org.graalvm.compiler.nodes.Invoke.callTarget:()Lorg/graalvm/compiler/nodes/CallTargetNode;
astore 3
start local 3 3: invokestatic org.graalvm.compiler.nodes.spi.DefaultNodeCostProvider.$SWITCH_TABLE$org$graalvm$compiler$nodes$CallTargetNode$InvokeKind:()[I
aload 3
invokevirtual org.graalvm.compiler.nodes.CallTargetNode.invokeKind:()Lorg/graalvm/compiler/nodes/CallTargetNode$InvokeKind;
invokevirtual org.graalvm.compiler.nodes.CallTargetNode$InvokeKind.ordinal:()I
iaload
tableswitch { // 1 - 4
1: 4
2: 5
3: 5
4: 6
default: 7
}
4: StackMap locals: org.graalvm.compiler.nodes.Invoke org.graalvm.compiler.nodes.CallTargetNode
StackMap stack:
getstatic org.graalvm.compiler.nodeinfo.NodeSize.SIZE_50:Lorg/graalvm/compiler/nodeinfo/NodeSize;
areturn
5: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.nodeinfo.NodeSize.SIZE_2:Lorg/graalvm/compiler/nodeinfo/NodeSize;
areturn
6: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.nodeinfo.NodeSize.SIZE_4:Lorg/graalvm/compiler/nodeinfo/NodeSize;
areturn
end local 3 end local 2 7: StackMap locals:
StackMap stack:
goto 32
StackMap locals:
StackMap stack:
8: aload 1
instanceof org.graalvm.compiler.nodes.virtual.CommitAllocationNode
ifeq 16
9: aload 1
checkcast org.graalvm.compiler.nodes.virtual.CommitAllocationNode
astore 2
start local 2 10: aload 2
invokevirtual org.graalvm.compiler.nodes.virtual.CommitAllocationNode.getVirtualObjects:()Ljava/util/List;
invokeinterface java.util.List.size:()I
istore 3
start local 3 11: iload 3
iconst_5
if_icmpge 13
12: getstatic org.graalvm.compiler.nodeinfo.NodeSize.SIZE_80:Lorg/graalvm/compiler/nodeinfo/NodeSize;
areturn
13: StackMap locals: org.graalvm.compiler.nodes.virtual.CommitAllocationNode int
StackMap stack:
iload 3
bipush 10
if_icmpge 15
14: getstatic org.graalvm.compiler.nodeinfo.NodeSize.SIZE_100:Lorg/graalvm/compiler/nodeinfo/NodeSize;
areturn
15: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.nodeinfo.NodeSize.SIZE_200:Lorg/graalvm/compiler/nodeinfo/NodeSize;
areturn
end local 3 end local 2 16: StackMap locals:
StackMap stack:
aload 1
instanceof org.graalvm.compiler.nodes.java.AccessFieldNode
ifeq 19
17: aload 1
checkcast org.graalvm.compiler.nodes.java.AccessFieldNode
invokevirtual org.graalvm.compiler.nodes.java.AccessFieldNode.field:()Ljdk/vm/ci/meta/ResolvedJavaField;
invokeinterface jdk.vm.ci.meta.ResolvedJavaField.isVolatile:()Z
ifeq 32
18: getstatic org.graalvm.compiler.nodeinfo.NodeSize.SIZE_10:Lorg/graalvm/compiler/nodeinfo/NodeSize;
areturn
19: StackMap locals:
StackMap stack:
aload 1
instanceof org.graalvm.compiler.nodes.LoopEndNode
ifeq 22
20: aload 1
checkcast org.graalvm.compiler.nodes.LoopEndNode
invokevirtual org.graalvm.compiler.nodes.LoopEndNode.canSafepoint:()Z
ifeq 32
21: getstatic org.graalvm.compiler.nodeinfo.NodeSize.SIZE_6:Lorg/graalvm/compiler/nodeinfo/NodeSize;
areturn
22: StackMap locals:
StackMap stack:
aload 1
instanceof org.graalvm.compiler.nodes.extended.SwitchNode
ifeq 32
23: aload 1
checkcast org.graalvm.compiler.nodes.extended.SwitchNode
astore 2
start local 2 24: aload 2
invokevirtual org.graalvm.compiler.nodes.extended.SwitchNode.keyCount:()I
istore 3
start local 3 25: iload 3
ifne 27
26: getstatic org.graalvm.compiler.nodeinfo.NodeSize.SIZE_1:Lorg/graalvm/compiler/nodeinfo/NodeSize;
areturn
27: StackMap locals: org.graalvm.compiler.nodes.extended.SwitchNode int
StackMap stack:
iload 3
iconst_1
if_icmpne 29
28: getstatic org.graalvm.compiler.nodeinfo.NodeSize.SIZE_2:Lorg/graalvm/compiler/nodeinfo/NodeSize;
areturn
29: StackMap locals:
StackMap stack:
aload 2
instanceof org.graalvm.compiler.nodes.extended.IntegerSwitchNode
ifeq 31
aload 2
invokevirtual org.graalvm.compiler.nodes.extended.SwitchNode.isSorted:()Z
ifeq 31
30: getstatic org.graalvm.compiler.nodeinfo.NodeSize.SIZE_15:Lorg/graalvm/compiler/nodeinfo/NodeSize;
areturn
31: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.nodeinfo.NodeSize.SIZE_30:Lorg/graalvm/compiler/nodeinfo/NodeSize;
areturn
end local 3 end local 2 32: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.graalvm.compiler.graph.Node.getNodeClass:()Lorg/graalvm/compiler/graph/NodeClass;
invokevirtual org.graalvm.compiler.graph.NodeClass.size:()Lorg/graalvm/compiler/nodeinfo/NodeSize;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Lorg/graalvm/compiler/nodes/spi/DefaultNodeCostProvider;
0 33 1 n Lorg/graalvm/compiler/graph/Node;
2 7 2 ivk Lorg/graalvm/compiler/nodes/Invoke;
3 7 3 mct Lorg/graalvm/compiler/nodes/CallTargetNode;
10 16 2 commit Lorg/graalvm/compiler/nodes/virtual/CommitAllocationNode;
11 16 3 nrOfAllocs I
24 32 2 x Lorg/graalvm/compiler/nodes/extended/SwitchNode;
25 32 3 keyCount I
MethodParameters:
Name Flags
n
public org.graalvm.compiler.nodeinfo.NodeCycles cycles(org.graalvm.compiler.graph.Node);
descriptor: (Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/nodeinfo/NodeCycles;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.graalvm.compiler.nodes.Invoke
ifeq 8
1: aload 1
checkcast org.graalvm.compiler.nodes.Invoke
astore 2
start local 2 2: aload 2
invokeinterface org.graalvm.compiler.nodes.Invoke.callTarget:()Lorg/graalvm/compiler/nodes/CallTargetNode;
astore 3
start local 3 3: invokestatic org.graalvm.compiler.nodes.spi.DefaultNodeCostProvider.$SWITCH_TABLE$org$graalvm$compiler$nodes$CallTargetNode$InvokeKind:()[I
aload 3
invokevirtual org.graalvm.compiler.nodes.CallTargetNode.invokeKind:()Lorg/graalvm/compiler/nodes/CallTargetNode$InvokeKind;
invokevirtual org.graalvm.compiler.nodes.CallTargetNode$InvokeKind.ordinal:()I
iaload
tableswitch { // 1 - 4
1: 4
2: 5
3: 5
4: 6
default: 7
}
4: StackMap locals: org.graalvm.compiler.nodes.Invoke org.graalvm.compiler.nodes.CallTargetNode
StackMap stack:
getstatic org.graalvm.compiler.nodeinfo.NodeCycles.CYCLES_100:Lorg/graalvm/compiler/nodeinfo/NodeCycles;
areturn
5: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.nodeinfo.NodeCycles.CYCLES_2:Lorg/graalvm/compiler/nodeinfo/NodeCycles;
areturn
6: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.nodeinfo.NodeCycles.CYCLES_4:Lorg/graalvm/compiler/nodeinfo/NodeCycles;
areturn
end local 3 end local 2 7: StackMap locals:
StackMap stack:
goto 29
StackMap locals:
StackMap stack:
8: aload 1
instanceof org.graalvm.compiler.nodes.virtual.CommitAllocationNode
ifeq 16
9: aload 1
checkcast org.graalvm.compiler.nodes.virtual.CommitAllocationNode
astore 2
start local 2 10: aload 2
invokevirtual org.graalvm.compiler.nodes.virtual.CommitAllocationNode.getVirtualObjects:()Ljava/util/List;
invokeinterface java.util.List.size:()I
istore 3
start local 3 11: iload 3
iconst_5
if_icmpge 13
12: getstatic org.graalvm.compiler.nodeinfo.NodeCycles.CYCLES_20:Lorg/graalvm/compiler/nodeinfo/NodeCycles;
areturn
13: StackMap locals: org.graalvm.compiler.nodes.virtual.CommitAllocationNode int
StackMap stack:
iload 3
bipush 10
if_icmpge 15
14: getstatic org.graalvm.compiler.nodeinfo.NodeCycles.CYCLES_40:Lorg/graalvm/compiler/nodeinfo/NodeCycles;
areturn
15: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.nodeinfo.NodeCycles.CYCLES_80:Lorg/graalvm/compiler/nodeinfo/NodeCycles;
areturn
end local 3 end local 2 16: StackMap locals:
StackMap stack:
aload 1
instanceof org.graalvm.compiler.nodes.java.AccessFieldNode
ifeq 19
17: aload 1
checkcast org.graalvm.compiler.nodes.java.AccessFieldNode
invokevirtual org.graalvm.compiler.nodes.java.AccessFieldNode.field:()Ljdk/vm/ci/meta/ResolvedJavaField;
invokeinterface jdk.vm.ci.meta.ResolvedJavaField.isVolatile:()Z
ifeq 29
18: getstatic org.graalvm.compiler.nodeinfo.NodeCycles.CYCLES_30:Lorg/graalvm/compiler/nodeinfo/NodeCycles;
areturn
19: StackMap locals:
StackMap stack:
aload 1
instanceof org.graalvm.compiler.nodes.extended.SwitchNode
ifeq 29
20: aload 1
checkcast org.graalvm.compiler.nodes.extended.SwitchNode
astore 2
start local 2 21: aload 2
invokevirtual org.graalvm.compiler.nodes.extended.SwitchNode.keyCount:()I
istore 3
start local 3 22: iload 3
ifne 24
23: getstatic org.graalvm.compiler.nodeinfo.NodeCycles.CYCLES_1:Lorg/graalvm/compiler/nodeinfo/NodeCycles;
areturn
24: StackMap locals: org.graalvm.compiler.nodes.extended.SwitchNode int
StackMap stack:
iload 3
iconst_1
if_icmpne 26
25: getstatic org.graalvm.compiler.nodeinfo.NodeCycles.CYCLES_2:Lorg/graalvm/compiler/nodeinfo/NodeCycles;
areturn
26: StackMap locals:
StackMap stack:
aload 2
instanceof org.graalvm.compiler.nodes.extended.IntegerSwitchNode
ifeq 28
aload 2
invokevirtual org.graalvm.compiler.nodes.extended.SwitchNode.isSorted:()Z
ifeq 28
27: getstatic org.graalvm.compiler.nodeinfo.NodeCycles.CYCLES_15:Lorg/graalvm/compiler/nodeinfo/NodeCycles;
areturn
28: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.nodeinfo.NodeCycles.CYCLES_30:Lorg/graalvm/compiler/nodeinfo/NodeCycles;
areturn
end local 3 end local 2 29: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.graalvm.compiler.graph.Node.getNodeClass:()Lorg/graalvm/compiler/graph/NodeClass;
invokevirtual org.graalvm.compiler.graph.NodeClass.cycles:()Lorg/graalvm/compiler/nodeinfo/NodeCycles;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lorg/graalvm/compiler/nodes/spi/DefaultNodeCostProvider;
0 30 1 n Lorg/graalvm/compiler/graph/Node;
2 7 2 ivk Lorg/graalvm/compiler/nodes/Invoke;
3 7 3 mct Lorg/graalvm/compiler/nodes/CallTargetNode;
10 16 2 commit Lorg/graalvm/compiler/nodes/virtual/CommitAllocationNode;
11 16 3 nrOfAllocs I
21 29 2 x Lorg/graalvm/compiler/nodes/extended/SwitchNode;
22 29 3 keyCount I
MethodParameters:
Name Flags
n
static int[] $SWITCH_TABLE$org$graalvm$compiler$nodes$CallTargetNode$InvokeKind();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.graalvm.compiler.nodes.spi.DefaultNodeCostProvider.$SWITCH_TABLE$org$graalvm$compiler$nodes$CallTargetNode$InvokeKind:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.graalvm.compiler.nodes.CallTargetNode$InvokeKind.values:()[Lorg/graalvm/compiler/nodes/CallTargetNode$InvokeKind;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.graalvm.compiler.nodes.CallTargetNode$InvokeKind.Interface:Lorg/graalvm/compiler/nodes/CallTargetNode$InvokeKind;
invokevirtual org.graalvm.compiler.nodes.CallTargetNode$InvokeKind.ordinal:()I
iconst_1
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic org.graalvm.compiler.nodes.CallTargetNode$InvokeKind.Special:Lorg/graalvm/compiler/nodes/CallTargetNode$InvokeKind;
invokevirtual org.graalvm.compiler.nodes.CallTargetNode$InvokeKind.ordinal:()I
iconst_2
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic org.graalvm.compiler.nodes.CallTargetNode$InvokeKind.Static:Lorg/graalvm/compiler/nodes/CallTargetNode$InvokeKind;
invokevirtual org.graalvm.compiler.nodes.CallTargetNode$InvokeKind.ordinal:()I
iconst_3
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic org.graalvm.compiler.nodes.CallTargetNode$InvokeKind.Virtual:Lorg/graalvm/compiler/nodes/CallTargetNode$InvokeKind;
invokevirtual org.graalvm.compiler.nodes.CallTargetNode$InvokeKind.ordinal:()I
iconst_4
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
dup
putstatic org.graalvm.compiler.nodes.spi.DefaultNodeCostProvider.$SWITCH_TABLE$org$graalvm$compiler$nodes$CallTargetNode$InvokeKind:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
}
SourceFile: "DefaultNodeCostProvider.java"
InnerClasses:
public final InvokeKind = org.graalvm.compiler.nodes.CallTargetNode$InvokeKind of org.graalvm.compiler.nodes.CallTargetNode