public class org.graalvm.compiler.phases.common.ProfileCompiledMethodsPhase extends org.graalvm.compiler.phases.Phase
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.phases.common.ProfileCompiledMethodsPhase
super_class: org.graalvm.compiler.phases.Phase
{
private static final java.lang.String GROUP_NAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "~profiled weight"
private static final java.lang.String GROUP_NAME_WITHOUT;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "~profiled weight (invoke-free sections)"
private static final java.lang.String GROUP_NAME_INVOKES;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "~profiled invokes"
private static final boolean ;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final boolean WITH_INVOKE_FREE_SECTIONS;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final boolean WITH_INVOKES;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc "ProfileCompiledMethodsPhase.WITH_SECTION_HEADER"
ldc "false"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.Boolean.parseBoolean:(Ljava/lang/String;)Z
putstatic org.graalvm.compiler.phases.common.ProfileCompiledMethodsPhase.WITH_SECTION_HEADER:Z
1: ldc "ProfileCompiledMethodsPhase.WITH_FREE_SECTIONS"
ldc "false"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.Boolean.parseBoolean:(Ljava/lang/String;)Z
putstatic org.graalvm.compiler.phases.common.ProfileCompiledMethodsPhase.WITH_INVOKE_FREE_SECTIONS:Z
2: ldc "ProfileCompiledMethodsPhase.WITH_INVOKES"
ldc "true"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.Boolean.parseBoolean:(Ljava/lang/String;)Z
putstatic org.graalvm.compiler.phases.common.ProfileCompiledMethodsPhase.WITH_INVOKES:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.graalvm.compiler.phases.Phase.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/phases/common/ProfileCompiledMethodsPhase;
protected void run(org.graalvm.compiler.nodes.StructuredGraph);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=8, args_size=2
start local 0 start local 1 0: new org.graalvm.compiler.phases.schedule.SchedulePhase
dup
aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getOptions:()Lorg/graalvm/compiler/options/OptionValues;
invokespecial org.graalvm.compiler.phases.schedule.SchedulePhase.<init>:(Lorg/graalvm/compiler/options/OptionValues;)V
astore 2
start local 2 1: aload 2
aload 1
iconst_0
invokevirtual org.graalvm.compiler.phases.schedule.SchedulePhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;Z)V
2: aload 1
iconst_1
iconst_1
iconst_1
iconst_1
invokestatic org.graalvm.compiler.nodes.cfg.ControlFlowGraph.compute:(Lorg/graalvm/compiler/nodes/StructuredGraph;ZZZZ)Lorg/graalvm/compiler/nodes/cfg/ControlFlowGraph;
astore 3
start local 3 3: aload 3
invokevirtual org.graalvm.compiler.nodes.cfg.ControlFlowGraph.getLoops:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 8
StackMap locals: org.graalvm.compiler.phases.common.ProfileCompiledMethodsPhase org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.phases.schedule.SchedulePhase org.graalvm.compiler.nodes.cfg.ControlFlowGraph top java.util.Iterator
StackMap stack:
4: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.core.common.cfg.Loop
astore 4
start local 4 5: aload 3
aload 4
invokevirtual org.graalvm.compiler.core.common.cfg.Loop.getHeader:()Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
checkcast org.graalvm.compiler.nodes.cfg.Block
invokevirtual org.graalvm.compiler.nodes.cfg.Block.getBeginNode:()Lorg/graalvm/compiler/nodes/AbstractBeginNode;
invokevirtual org.graalvm.compiler.nodes.cfg.ControlFlowGraph.blockFor:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/nodes/cfg/Block;
invokevirtual org.graalvm.compiler.nodes.cfg.Block.probability:()D
dstore 6
start local 6 6: dload 6
ldc 4.656612875245797E-10
dcmpl
ifle 8
7: aload 4
invokevirtual org.graalvm.compiler.core.common.cfg.Loop.getHeader:()Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
checkcast org.graalvm.compiler.nodes.cfg.Block
invokevirtual org.graalvm.compiler.nodes.cfg.Block.getBeginNode:()Lorg/graalvm/compiler/nodes/AbstractBeginNode;
aload 4
invokevirtual org.graalvm.compiler.core.common.cfg.Loop.getBlocks:()Ljava/util/List;
aload 4
invokevirtual org.graalvm.compiler.core.common.cfg.Loop.getChildren:()Ljava/util/List;
aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getLastSchedule:()Lorg/graalvm/compiler/nodes/StructuredGraph$ScheduleResult;
aload 3
invokestatic org.graalvm.compiler.phases.common.ProfileCompiledMethodsPhase.addSectionCounters:(Lorg/graalvm/compiler/nodes/FixedWithNextNode;Ljava/util/Collection;Ljava/util/Collection;Lorg/graalvm/compiler/nodes/StructuredGraph$ScheduleResult;Lorg/graalvm/compiler/nodes/cfg/ControlFlowGraph;)V
end local 6 end local 4 8: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
9: aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.start:()Lorg/graalvm/compiler/nodes/StartNode;
astore 4
start local 4 10: goto 12
11: StackMap locals: org.graalvm.compiler.phases.common.ProfileCompiledMethodsPhase org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.phases.schedule.SchedulePhase org.graalvm.compiler.nodes.cfg.ControlFlowGraph org.graalvm.compiler.nodes.FixedWithNextNode
StackMap stack:
aload 4
invokevirtual org.graalvm.compiler.nodes.FixedWithNextNode.next:()Lorg/graalvm/compiler/nodes/FixedNode;
checkcast org.graalvm.compiler.nodes.FixedWithNextNode
astore 4
12: StackMap locals:
StackMap stack:
aload 4
invokevirtual org.graalvm.compiler.nodes.FixedWithNextNode.next:()Lorg/graalvm/compiler/nodes/FixedNode;
instanceof org.graalvm.compiler.nodes.FixedWithNextNode
ifne 11
13: aload 4
aload 3
invokevirtual org.graalvm.compiler.nodes.cfg.ControlFlowGraph.getBlocks:()[Lorg/graalvm/compiler/nodes/cfg/Block;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
aload 3
invokevirtual org.graalvm.compiler.nodes.cfg.ControlFlowGraph.getLoops:()Ljava/util/List;
aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getLastSchedule:()Lorg/graalvm/compiler/nodes/StructuredGraph$ScheduleResult;
aload 3
invokestatic org.graalvm.compiler.phases.common.ProfileCompiledMethodsPhase.addSectionCounters:(Lorg/graalvm/compiler/nodes/FixedWithNextNode;Ljava/util/Collection;Ljava/util/Collection;Lorg/graalvm/compiler/nodes/StructuredGraph$ScheduleResult;Lorg/graalvm/compiler/nodes/cfg/ControlFlowGraph;)V
14: getstatic org.graalvm.compiler.phases.common.ProfileCompiledMethodsPhase.WITH_INVOKES:Z
ifeq 21
15: aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getNodes:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.iterator:()Ljava/util/Iterator;
astore 6
goto 20
StackMap locals: org.graalvm.compiler.phases.common.ProfileCompiledMethodsPhase org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.phases.schedule.SchedulePhase org.graalvm.compiler.nodes.cfg.ControlFlowGraph org.graalvm.compiler.nodes.FixedWithNextNode top java.util.Iterator
StackMap stack:
16: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.Node
astore 5
start local 5 17: aload 5
instanceof org.graalvm.compiler.nodes.Invoke
ifeq 20
18: aload 5
checkcast org.graalvm.compiler.nodes.Invoke
astore 7
start local 7 19: ldc "~profiled invokes"
aload 7
invokeinterface org.graalvm.compiler.nodes.Invoke.callTarget:()Lorg/graalvm/compiler/nodes/CallTargetNode;
invokevirtual org.graalvm.compiler.nodes.CallTargetNode.targetName:()Ljava/lang/String;
lconst_1
iconst_1
aload 7
invokeinterface org.graalvm.compiler.nodes.Invoke.asNode:()Lorg/graalvm/compiler/nodes/FixedNode;
invokestatic org.graalvm.compiler.nodes.debug.DynamicCounterNode.addCounterBefore:(Ljava/lang/String;Ljava/lang/String;JZLorg/graalvm/compiler/nodes/FixedNode;)V
end local 7 end local 5 20: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 16
21: StackMap locals: org.graalvm.compiler.phases.common.ProfileCompiledMethodsPhase org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.phases.schedule.SchedulePhase org.graalvm.compiler.nodes.cfg.ControlFlowGraph org.graalvm.compiler.nodes.FixedWithNextNode
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lorg/graalvm/compiler/phases/common/ProfileCompiledMethodsPhase;
0 22 1 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
1 22 2 schedule Lorg/graalvm/compiler/phases/schedule/SchedulePhase;
3 22 3 cfg Lorg/graalvm/compiler/nodes/cfg/ControlFlowGraph;
5 8 4 loop Lorg/graalvm/compiler/core/common/cfg/Loop<Lorg/graalvm/compiler/nodes/cfg/Block;>;
6 8 6 loopProbability D
10 22 4 current Lorg/graalvm/compiler/nodes/FixedWithNextNode;
17 20 5 node Lorg/graalvm/compiler/graph/Node;
19 20 7 invoke Lorg/graalvm/compiler/nodes/Invoke;
MethodParameters:
Name Flags
graph
private static void addSectionCounters(org.graalvm.compiler.nodes.FixedWithNextNode, java.util.Collection<org.graalvm.compiler.nodes.cfg.Block>, java.util.Collection<org.graalvm.compiler.core.common.cfg.Loop<org.graalvm.compiler.nodes.cfg.Block>>, org.graalvm.compiler.nodes.StructuredGraph$ScheduleResult, org.graalvm.compiler.nodes.cfg.ControlFlowGraph);
descriptor: (Lorg/graalvm/compiler/nodes/FixedWithNextNode;Ljava/util/Collection;Ljava/util/Collection;Lorg/graalvm/compiler/nodes/StructuredGraph$ScheduleResult;Lorg/graalvm/compiler/nodes/cfg/ControlFlowGraph;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: new java.util.HashSet
dup
aload 1
invokespecial java.util.HashSet.<init>:(Ljava/util/Collection;)V
astore 5
start local 5 1: aload 2
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 7
goto 4
StackMap locals: org.graalvm.compiler.nodes.FixedWithNextNode java.util.Collection java.util.Collection org.graalvm.compiler.nodes.StructuredGraph$ScheduleResult org.graalvm.compiler.nodes.cfg.ControlFlowGraph java.util.HashSet top java.util.Iterator
StackMap stack:
2: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.core.common.cfg.Loop
astore 6
start local 6 3: aload 5
aload 6
invokevirtual org.graalvm.compiler.core.common.cfg.Loop.getBlocks:()Ljava/util/List;
invokevirtual java.util.HashSet.removeAll:(Ljava/util/Collection;)Z
pop
end local 6 4: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 3
aload 5
invokestatic org.graalvm.compiler.phases.common.ProfileCompiledMethodsPhase.getSectionWeight:(Lorg/graalvm/compiler/nodes/StructuredGraph$ScheduleResult;Ljava/util/Collection;)D
aload 4
aload 0
invokevirtual org.graalvm.compiler.nodes.cfg.ControlFlowGraph.blockFor:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/nodes/cfg/Block;
invokevirtual org.graalvm.compiler.nodes.cfg.Block.probability:()D
ddiv
dstore 6
start local 6 6: ldc "~profiled weight"
aload 0
invokestatic org.graalvm.compiler.phases.common.ProfileCompiledMethodsPhase.sectionHead:(Lorg/graalvm/compiler/graph/Node;)Ljava/lang/String;
dload 6
d2l
iconst_1
aload 0
invokevirtual org.graalvm.compiler.nodes.FixedWithNextNode.next:()Lorg/graalvm/compiler/nodes/FixedNode;
invokestatic org.graalvm.compiler.nodes.debug.DynamicCounterNode.addCounterBefore:(Ljava/lang/String;Ljava/lang/String;JZLorg/graalvm/compiler/nodes/FixedNode;)V
7: getstatic org.graalvm.compiler.phases.common.ProfileCompiledMethodsPhase.WITH_INVOKE_FREE_SECTIONS:Z
ifeq 9
aload 5
invokestatic org.graalvm.compiler.phases.common.ProfileCompiledMethodsPhase.hasInvoke:(Ljava/util/Collection;)Z
ifne 9
8: ldc "~profiled weight (invoke-free sections)"
aload 0
invokestatic org.graalvm.compiler.phases.common.ProfileCompiledMethodsPhase.sectionHead:(Lorg/graalvm/compiler/graph/Node;)Ljava/lang/String;
dload 6
d2l
iconst_1
aload 0
invokevirtual org.graalvm.compiler.nodes.FixedWithNextNode.next:()Lorg/graalvm/compiler/nodes/FixedNode;
invokestatic org.graalvm.compiler.nodes.debug.DynamicCounterNode.addCounterBefore:(Ljava/lang/String;Ljava/lang/String;JZLorg/graalvm/compiler/nodes/FixedNode;)V
9: StackMap locals: org.graalvm.compiler.nodes.FixedWithNextNode java.util.Collection java.util.Collection org.graalvm.compiler.nodes.StructuredGraph$ScheduleResult org.graalvm.compiler.nodes.cfg.ControlFlowGraph java.util.HashSet double
StackMap stack:
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 10 0 start Lorg/graalvm/compiler/nodes/FixedWithNextNode;
0 10 1 sectionBlocks Ljava/util/Collection<Lorg/graalvm/compiler/nodes/cfg/Block;>;
0 10 2 childLoops Ljava/util/Collection<Lorg/graalvm/compiler/core/common/cfg/Loop<Lorg/graalvm/compiler/nodes/cfg/Block;>;>;
0 10 3 schedule Lorg/graalvm/compiler/nodes/StructuredGraph$ScheduleResult;
0 10 4 cfg Lorg/graalvm/compiler/nodes/cfg/ControlFlowGraph;
1 10 5 blocks Ljava/util/HashSet<Lorg/graalvm/compiler/nodes/cfg/Block;>;
3 4 6 loop Lorg/graalvm/compiler/core/common/cfg/Loop<Lorg/graalvm/compiler/nodes/cfg/Block;>;
6 10 6 weight D
Signature: (Lorg/graalvm/compiler/nodes/FixedWithNextNode;Ljava/util/Collection<Lorg/graalvm/compiler/nodes/cfg/Block;>;Ljava/util/Collection<Lorg/graalvm/compiler/core/common/cfg/Loop<Lorg/graalvm/compiler/nodes/cfg/Block;>;>;Lorg/graalvm/compiler/nodes/StructuredGraph$ScheduleResult;Lorg/graalvm/compiler/nodes/cfg/ControlFlowGraph;)V
MethodParameters:
Name Flags
start
sectionBlocks
childLoops
schedule
cfg
private static java.lang.String sectionHead(org.graalvm.compiler.graph.Node);
descriptor: (Lorg/graalvm/compiler/graph/Node;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.phases.common.ProfileCompiledMethodsPhase.WITH_SECTION_HEADER:Z
ifeq 2
1: aload 0
invokevirtual org.graalvm.compiler.graph.Node.toString:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
ldc ""
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 node Lorg/graalvm/compiler/graph/Node;
MethodParameters:
Name Flags
node
private static double getSectionWeight(org.graalvm.compiler.nodes.StructuredGraph$ScheduleResult, java.util.Collection<org.graalvm.compiler.nodes.cfg.Block>);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph$ScheduleResult;Ljava/util/Collection;)D
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=10, args_size=2
start local 0 start local 1 0: dconst_0
dstore 2
start local 2 1: aload 1
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 5
goto 8
StackMap locals: org.graalvm.compiler.nodes.StructuredGraph$ScheduleResult java.util.Collection double top java.util.Iterator
StackMap stack:
2: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.cfg.Block
astore 4
start local 4 3: aload 4
invokevirtual org.graalvm.compiler.nodes.cfg.Block.probability:()D
dstore 6
start local 6 4: aload 0
invokevirtual org.graalvm.compiler.nodes.StructuredGraph$ScheduleResult.getBlockToNodesMap:()Lorg/graalvm/compiler/core/common/cfg/BlockMap;
aload 4
invokevirtual org.graalvm.compiler.core.common.cfg.BlockMap.get:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Ljava/lang/Object;
checkcast java.util.List
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 9
goto 7
StackMap locals: org.graalvm.compiler.nodes.StructuredGraph$ScheduleResult java.util.Collection double org.graalvm.compiler.nodes.cfg.Block java.util.Iterator double top java.util.Iterator
StackMap stack:
5: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.Node
astore 8
start local 8 6: dload 2
dload 6
aload 8
invokestatic org.graalvm.compiler.phases.common.ProfileCompiledMethodsPhase.getNodeWeight:(Lorg/graalvm/compiler/graph/Node;)D
dmul
dadd
dstore 2
end local 8 7: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
end local 6 end local 4 8: StackMap locals: org.graalvm.compiler.nodes.StructuredGraph$ScheduleResult java.util.Collection double top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
9: dload 2
dreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 schedule Lorg/graalvm/compiler/nodes/StructuredGraph$ScheduleResult;
0 10 1 blocks Ljava/util/Collection<Lorg/graalvm/compiler/nodes/cfg/Block;>;
1 10 2 count D
3 8 4 block Lorg/graalvm/compiler/nodes/cfg/Block;
4 8 6 blockProbability D
6 7 8 node Lorg/graalvm/compiler/graph/Node;
Signature: (Lorg/graalvm/compiler/nodes/StructuredGraph$ScheduleResult;Ljava/util/Collection<Lorg/graalvm/compiler/nodes/cfg/Block;>;)D
MethodParameters:
Name Flags
schedule
blocks
private static double getNodeWeight(org.graalvm.compiler.graph.Node);
descriptor: (Lorg/graalvm/compiler/graph/Node;)D
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
instanceof org.graalvm.compiler.nodes.AbstractMergeNode
ifeq 2
1: aload 0
checkcast org.graalvm.compiler.nodes.AbstractMergeNode
invokevirtual org.graalvm.compiler.nodes.AbstractMergeNode.phiPredecessorCount:()I
i2d
dreturn
2: StackMap locals:
StackMap stack:
aload 0
instanceof org.graalvm.compiler.nodes.AbstractBeginNode
ifne 4
aload 0
instanceof org.graalvm.compiler.nodes.AbstractEndNode
ifne 4
aload 0
instanceof org.graalvm.compiler.nodes.java.MonitorIdNode
ifne 4
aload 0
instanceof org.graalvm.compiler.nodes.ConstantNode
ifne 4
aload 0
instanceof org.graalvm.compiler.nodes.ParameterNode
ifne 4
3: aload 0
instanceof org.graalvm.compiler.nodes.CallTargetNode
ifne 4
aload 0
instanceof org.graalvm.compiler.nodes.spi.ValueProxy
ifne 4
aload 0
instanceof org.graalvm.compiler.nodes.virtual.VirtualObjectNode
ifne 4
aload 0
instanceof org.graalvm.compiler.nodes.calc.ReinterpretNode
ifeq 5
4: StackMap locals:
StackMap stack:
dconst_0
dreturn
5: StackMap locals:
StackMap stack:
aload 0
instanceof org.graalvm.compiler.nodes.java.AccessMonitorNode
ifeq 7
6: ldc 10.0
dreturn
7: StackMap locals:
StackMap stack:
aload 0
instanceof org.graalvm.compiler.nodes.memory.Access
ifeq 9
8: ldc 2.0
dreturn
9: StackMap locals:
StackMap stack:
aload 0
instanceof org.graalvm.compiler.nodes.LogicNode
ifne 10
aload 0
instanceof org.graalvm.compiler.nodes.calc.ConvertNode
ifne 10
aload 0
instanceof org.graalvm.compiler.nodes.calc.NotNode
ifeq 11
10: StackMap locals:
StackMap stack:
dconst_1
dreturn
11: StackMap locals:
StackMap stack:
aload 0
instanceof org.graalvm.compiler.nodes.calc.IntegerDivRemNode
ifne 12
aload 0
instanceof org.graalvm.compiler.nodes.calc.FloatDivNode
ifne 12
aload 0
instanceof org.graalvm.compiler.nodes.calc.RemNode
ifeq 13
12: StackMap locals:
StackMap stack:
ldc 10.0
dreturn
13: StackMap locals:
StackMap stack:
aload 0
instanceof org.graalvm.compiler.nodes.calc.MulNode
ifeq 15
14: ldc 3.0
dreturn
15: StackMap locals:
StackMap stack:
aload 0
instanceof org.graalvm.compiler.nodes.Invoke
ifeq 17
16: ldc 5.0
dreturn
17: StackMap locals:
StackMap stack:
aload 0
instanceof org.graalvm.compiler.nodes.IfNode
ifne 18
aload 0
instanceof org.graalvm.compiler.nodes.SafepointNode
ifne 18
aload 0
instanceof org.graalvm.compiler.nodes.calc.BinaryNode
ifeq 19
18: StackMap locals:
StackMap stack:
dconst_1
dreturn
19: StackMap locals:
StackMap stack:
aload 0
instanceof org.graalvm.compiler.nodes.extended.SwitchNode
ifeq 21
20: aload 0
invokevirtual org.graalvm.compiler.graph.Node.successors:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.count:()I
i2d
dreturn
21: StackMap locals:
StackMap stack:
aload 0
instanceof org.graalvm.compiler.nodes.ReturnNode
ifne 22
aload 0
instanceof org.graalvm.compiler.nodes.UnwindNode
ifne 22
aload 0
instanceof org.graalvm.compiler.nodes.DeoptimizeNode
ifeq 23
22: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.graph.Node.successors:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.count:()I
i2d
dreturn
23: StackMap locals:
StackMap stack:
aload 0
instanceof org.graalvm.compiler.nodes.java.AbstractNewObjectNode
ifeq 25
24: ldc 10.0
dreturn
25: StackMap locals:
StackMap stack:
aload 0
instanceof org.graalvm.compiler.nodes.VirtualState
ifeq 27
26: dconst_0
dreturn
27: StackMap locals:
StackMap stack:
ldc 2.0
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 node Lorg/graalvm/compiler/graph/Node;
MethodParameters:
Name Flags
node
private static boolean hasInvoke(java.util.Collection<org.graalvm.compiler.nodes.cfg.Block>);
descriptor: (Ljava/util/Collection;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=6, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 8
StackMap locals: java.util.Collection int top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.cfg.Block
astore 2
start local 2 3: aload 2
invokevirtual org.graalvm.compiler.nodes.cfg.Block.getNodes:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 5
goto 7
StackMap locals: java.util.Collection int org.graalvm.compiler.nodes.cfg.Block java.util.Iterator top java.util.Iterator
StackMap stack:
4: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.FixedNode
astore 4
start local 4 5: aload 4
instanceof org.graalvm.compiler.nodes.Invoke
ifeq 7
6: iconst_1
istore 1
end local 4 7: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
end local 2 8: StackMap locals: java.util.Collection int top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
9: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 blocks Ljava/util/Collection<Lorg/graalvm/compiler/nodes/cfg/Block;>;
1 10 1 hasInvoke Z
3 8 2 block Lorg/graalvm/compiler/nodes/cfg/Block;
5 7 4 fixed Lorg/graalvm/compiler/nodes/FixedNode;
Signature: (Ljava/util/Collection<Lorg/graalvm/compiler/nodes/cfg/Block;>;)Z
MethodParameters:
Name Flags
blocks
public boolean checkContract();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/phases/common/ProfileCompiledMethodsPhase;
}
SourceFile: "ProfileCompiledMethodsPhase.java"
InnerClasses:
public ScheduleResult = org.graalvm.compiler.nodes.StructuredGraph$ScheduleResult of org.graalvm.compiler.nodes.StructuredGraph