public final class org.graalvm.compiler.java.ComputeLoopFrequenciesClosure extends org.graalvm.compiler.phases.graph.ReentrantNodeIterator$NodeIteratorClosure<java.lang.Double>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.graalvm.compiler.java.ComputeLoopFrequenciesClosure
super_class: org.graalvm.compiler.phases.graph.ReentrantNodeIterator$NodeIteratorClosure
{
private static final org.graalvm.compiler.java.ComputeLoopFrequenciesClosure INSTANCE;
descriptor: Lorg/graalvm/compiler/java/ComputeLoopFrequenciesClosure;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static final org.graalvm.compiler.java.ComputeLoopFrequenciesClosure$ComputeLoopFrequencyPhase PHASE_INSTANCE;
descriptor: Lorg/graalvm/compiler/java/ComputeLoopFrequenciesClosure$ComputeLoopFrequencyPhase;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.graalvm.compiler.java.ComputeLoopFrequenciesClosure
dup
invokespecial org.graalvm.compiler.java.ComputeLoopFrequenciesClosure.<init>:()V
putstatic org.graalvm.compiler.java.ComputeLoopFrequenciesClosure.INSTANCE:Lorg/graalvm/compiler/java/ComputeLoopFrequenciesClosure;
1: new org.graalvm.compiler.java.ComputeLoopFrequenciesClosure$ComputeLoopFrequencyPhase
dup
invokespecial org.graalvm.compiler.java.ComputeLoopFrequenciesClosure$ComputeLoopFrequencyPhase.<init>:()V
putstatic org.graalvm.compiler.java.ComputeLoopFrequenciesClosure.PHASE_INSTANCE:Lorg/graalvm/compiler/java/ComputeLoopFrequenciesClosure$ComputeLoopFrequencyPhase;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.graalvm.compiler.phases.graph.ReentrantNodeIterator$NodeIteratorClosure.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/java/ComputeLoopFrequenciesClosure;
protected java.lang.Double processNode(org.graalvm.compiler.nodes.FixedNode, java.lang.Double);
descriptor: (Lorg/graalvm/compiler/nodes/FixedNode;Ljava/lang/Double;)Ljava/lang/Double;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/java/ComputeLoopFrequenciesClosure;
0 1 1 node Lorg/graalvm/compiler/nodes/FixedNode;
0 1 2 currentState Ljava/lang/Double;
MethodParameters:
Name Flags
node
currentState
protected java.lang.Double merge(org.graalvm.compiler.nodes.AbstractMergeNode, java.util.List<java.lang.Double>);
descriptor: (Lorg/graalvm/compiler/nodes/AbstractMergeNode;Ljava/util/List;)Ljava/lang/Double;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=8, args_size=3
start local 0 start local 1 start local 2 0: dconst_0
dstore 3
start local 3 1: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 4
StackMap locals: org.graalvm.compiler.java.ComputeLoopFrequenciesClosure org.graalvm.compiler.nodes.AbstractMergeNode java.util.List double top top java.util.Iterator
StackMap stack:
2: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Double
invokevirtual java.lang.Double.doubleValue:()D
dstore 5
start local 5 3: dload 3
dload 5
dadd
dstore 3
end local 5 4: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: dload 3
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/compiler/java/ComputeLoopFrequenciesClosure;
0 6 1 merge Lorg/graalvm/compiler/nodes/AbstractMergeNode;
0 6 2 states Ljava/util/List<Ljava/lang/Double;>;
1 6 3 result D
3 4 5 d D
Signature: (Lorg/graalvm/compiler/nodes/AbstractMergeNode;Ljava/util/List<Ljava/lang/Double;>;)Ljava/lang/Double;
MethodParameters:
Name Flags
merge
states
protected java.lang.Double afterSplit(org.graalvm.compiler.nodes.AbstractBeginNode, java.lang.Double);
descriptor: (Lorg/graalvm/compiler/nodes/AbstractBeginNode;Ljava/lang/Double;)Ljava/lang/Double;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.graalvm.compiler.nodes.AbstractBeginNode.predecessor:()Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.ControlSplitNode
astore 3
start local 3 1: aload 2
invokevirtual java.lang.Double.doubleValue:()D
aload 3
aload 1
invokevirtual org.graalvm.compiler.nodes.ControlSplitNode.probability:(Lorg/graalvm/compiler/nodes/AbstractBeginNode;)D
dmul
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
areturn
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/java/ComputeLoopFrequenciesClosure;
0 2 1 node Lorg/graalvm/compiler/nodes/AbstractBeginNode;
0 2 2 oldState Ljava/lang/Double;
1 2 3 split Lorg/graalvm/compiler/nodes/ControlSplitNode;
MethodParameters:
Name Flags
node
oldState
protected jdk.internal.vm.compiler.collections.EconomicMap<org.graalvm.compiler.nodes.LoopExitNode, java.lang.Double> processLoop(org.graalvm.compiler.nodes.LoopBeginNode, java.lang.Double);
descriptor: (Lorg/graalvm/compiler/nodes/LoopBeginNode;Ljava/lang/Double;)Ljdk/internal/vm/compiler/collections/EconomicMap;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
dconst_1
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
invokestatic org.graalvm.compiler.phases.graph.ReentrantNodeIterator.processLoop:(Lorg/graalvm/compiler/phases/graph/ReentrantNodeIterator$NodeIteratorClosure;Lorg/graalvm/compiler/nodes/LoopBeginNode;Ljava/lang/Object;)Lorg/graalvm/compiler/phases/graph/ReentrantNodeIterator$LoopInfo;
getfield org.graalvm.compiler.phases.graph.ReentrantNodeIterator$LoopInfo.exitStates:Ljdk/internal/vm/compiler/collections/EconomicMap;
astore 3
start local 3 1: dconst_0
dstore 4
start local 4 2: aload 3
invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.getValues:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 8
goto 5
StackMap locals: org.graalvm.compiler.java.ComputeLoopFrequenciesClosure org.graalvm.compiler.nodes.LoopBeginNode java.lang.Double jdk.internal.vm.compiler.collections.EconomicMap double top top java.util.Iterator
StackMap stack:
3: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Double
invokevirtual java.lang.Double.doubleValue:()D
dstore 6
start local 6 4: dload 4
dload 6
dadd
dstore 4
end local 6 5: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: dconst_1
dload 4
invokestatic java.lang.Math.min:(DD)D
dstore 4
7: ldc 3.0549363634996047E-151
dload 4
invokestatic java.lang.Math.max:(DD)D
dstore 4
8: dconst_1
dload 4
ddiv
dstore 6
start local 6 9: aload 1
dload 6
invokevirtual org.graalvm.compiler.nodes.LoopBeginNode.setLoopFrequency:(D)V
10: aload 2
invokevirtual java.lang.Double.doubleValue:()D
dload 6
dmul
dstore 8
start local 8 11: aload 3
dload 8
invokedynamic apply(D)Ljava/util/function/BiFunction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
org/graalvm/compiler/java/ComputeLoopFrequenciesClosure.lambda$0(DLorg/graalvm/compiler/nodes/LoopExitNode;Ljava/lang/Double;)Ljava/lang/Double; (6)
(Lorg/graalvm/compiler/nodes/LoopExitNode;Ljava/lang/Double;)Ljava/lang/Double;
invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.replaceAll:(Ljava/util/function/BiFunction;)V
12: aload 3
areturn
end local 8 end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/graalvm/compiler/java/ComputeLoopFrequenciesClosure;
0 13 1 loop Lorg/graalvm/compiler/nodes/LoopBeginNode;
0 13 2 initialState Ljava/lang/Double;
1 13 3 exitStates Ljdk/internal/vm/compiler/collections/EconomicMap<Lorg/graalvm/compiler/nodes/LoopExitNode;Ljava/lang/Double;>;
2 13 4 exitRelativeFrequency D
4 5 6 d D
9 13 6 loopFrequency D
11 13 8 adjustmentFactor D
Signature: (Lorg/graalvm/compiler/nodes/LoopBeginNode;Ljava/lang/Double;)Ljdk/internal/vm/compiler/collections/EconomicMap<Lorg/graalvm/compiler/nodes/LoopExitNode;Ljava/lang/Double;>;
MethodParameters:
Name Flags
loop
initialState
public static void compute(org.graalvm.compiler.nodes.StructuredGraph);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.hasLoops:()Z
ifeq 2
1: getstatic org.graalvm.compiler.java.ComputeLoopFrequenciesClosure.INSTANCE:Lorg/graalvm/compiler/java/ComputeLoopFrequenciesClosure;
aload 0
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.start:()Lorg/graalvm/compiler/nodes/StartNode;
dconst_1
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
invokestatic org.graalvm.compiler.phases.graph.ReentrantNodeIterator.apply:(Lorg/graalvm/compiler/phases/graph/ReentrantNodeIterator$NodeIteratorClosure;Lorg/graalvm/compiler/nodes/FixedNode;Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
MethodParameters:
Name Flags
graph
protected java.lang.Object processNode(org.graalvm.compiler.nodes.FixedNode, java.lang.Object);
descriptor: (Lorg/graalvm/compiler/nodes/FixedNode;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
checkcast java.lang.Double
invokevirtual org.graalvm.compiler.java.ComputeLoopFrequenciesClosure.processNode:(Lorg/graalvm/compiler/nodes/FixedNode;Ljava/lang/Double;)Ljava/lang/Double;
areturn
LocalVariableTable:
Start End Slot Name Signature
protected java.lang.Object afterSplit(org.graalvm.compiler.nodes.AbstractBeginNode, java.lang.Object);
descriptor: (Lorg/graalvm/compiler/nodes/AbstractBeginNode;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
checkcast java.lang.Double
invokevirtual org.graalvm.compiler.java.ComputeLoopFrequenciesClosure.afterSplit:(Lorg/graalvm/compiler/nodes/AbstractBeginNode;Ljava/lang/Double;)Ljava/lang/Double;
areturn
LocalVariableTable:
Start End Slot Name Signature
protected java.lang.Object merge(org.graalvm.compiler.nodes.AbstractMergeNode, java.util.List);
descriptor: (Lorg/graalvm/compiler/nodes/AbstractMergeNode;Ljava/util/List;)Ljava/lang/Object;
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
checkcast java.util.List
invokevirtual org.graalvm.compiler.java.ComputeLoopFrequenciesClosure.merge:(Lorg/graalvm/compiler/nodes/AbstractMergeNode;Ljava/util/List;)Ljava/lang/Double;
areturn
LocalVariableTable:
Start End Slot Name Signature
protected jdk.internal.vm.compiler.collections.EconomicMap processLoop(org.graalvm.compiler.nodes.LoopBeginNode, java.lang.Object);
descriptor: (Lorg/graalvm/compiler/nodes/LoopBeginNode;Ljava/lang/Object;)Ljdk/internal/vm/compiler/collections/EconomicMap;
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
checkcast java.lang.Double
invokevirtual org.graalvm.compiler.java.ComputeLoopFrequenciesClosure.processLoop:(Lorg/graalvm/compiler/nodes/LoopBeginNode;Ljava/lang/Double;)Ljdk/internal/vm/compiler/collections/EconomicMap;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static java.lang.Double lambda$0(double, org.graalvm.compiler.nodes.LoopExitNode, java.lang.Double);
descriptor: (DLorg/graalvm/compiler/nodes/LoopExitNode;Ljava/lang/Double;)Ljava/lang/Double;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=3
start local 2 start local 3 0: aload 3
invokevirtual java.lang.Double.doubleValue:()D
dload 0
invokestatic org.graalvm.compiler.nodes.cfg.ControlFlowGraph.multiplyRelativeFrequencies:(DD)D
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
areturn
end local 3 end local 2 LocalVariableTable:
Start End Slot Name Signature
0 1 2 exitNode Lorg/graalvm/compiler/nodes/LoopExitNode;
0 1 3 frequency Ljava/lang/Double;
}
Signature: Lorg/graalvm/compiler/phases/graph/ReentrantNodeIterator$NodeIteratorClosure<Ljava/lang/Double;>;
SourceFile: "ComputeLoopFrequenciesClosure.java"
NestMembers:
org.graalvm.compiler.java.ComputeLoopFrequenciesClosure$ComputeLoopFrequencyPhase
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public ComputeLoopFrequencyPhase = org.graalvm.compiler.java.ComputeLoopFrequenciesClosure$ComputeLoopFrequencyPhase of org.graalvm.compiler.java.ComputeLoopFrequenciesClosure
public LoopInfo = org.graalvm.compiler.phases.graph.ReentrantNodeIterator$LoopInfo of org.graalvm.compiler.phases.graph.ReentrantNodeIterator
public abstract NodeIteratorClosure = org.graalvm.compiler.phases.graph.ReentrantNodeIterator$NodeIteratorClosure of org.graalvm.compiler.phases.graph.ReentrantNodeIterator