class org.graalvm.compiler.phases.common.inlining.walker.ComputeInliningRelevance$Scope
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.graalvm.compiler.phases.common.inlining.walker.ComputeInliningRelevance$Scope
super_class: java.lang.Object
{
public final org.graalvm.compiler.nodes.FixedNode start;
descriptor: Lorg/graalvm/compiler/nodes/FixedNode;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final org.graalvm.compiler.phases.common.inlining.walker.ComputeInliningRelevance$Scope parent;
descriptor: Lorg/graalvm/compiler/phases/common/inlining/walker/ComputeInliningRelevance$Scope;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
private double fastPathMinProbability;
descriptor: D
flags: (0x0002) ACC_PRIVATE
private double scopeRelevanceWithinParent;
descriptor: D
flags: (0x0002) ACC_PRIVATE
final org.graalvm.compiler.phases.common.inlining.walker.ComputeInliningRelevance this$0;
descriptor: Lorg/graalvm/compiler/phases/common/inlining/walker/ComputeInliningRelevance;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
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/phases/common/inlining/walker/ComputeInliningRelevance;
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.phases.common.inlining.walker.ComputeInliningRelevance$Scope.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(org.graalvm.compiler.phases.common.inlining.walker.ComputeInliningRelevance, org.graalvm.compiler.nodes.FixedNode, org.graalvm.compiler.phases.common.inlining.walker.ComputeInliningRelevance$Scope);
descriptor: (Lorg/graalvm/compiler/phases/common/inlining/walker/ComputeInliningRelevance;Lorg/graalvm/compiler/nodes/FixedNode;Lorg/graalvm/compiler/phases/common/inlining/walker/ComputeInliningRelevance$Scope;)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=4
start local 0 start local 2 start local 3 0: aload 0
aload 1
putfield org.graalvm.compiler.phases.common.inlining.walker.ComputeInliningRelevance$Scope.this$0:Lorg/graalvm/compiler/phases/common/inlining/walker/ComputeInliningRelevance;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
ldc -1.0
putfield org.graalvm.compiler.phases.common.inlining.walker.ComputeInliningRelevance$Scope.fastPathMinProbability:D
2: aload 0
ldc -1.0
putfield org.graalvm.compiler.phases.common.inlining.walker.ComputeInliningRelevance$Scope.scopeRelevanceWithinParent:D
3: aload 0
aload 2
putfield org.graalvm.compiler.phases.common.inlining.walker.ComputeInliningRelevance$Scope.start:Lorg/graalvm/compiler/nodes/FixedNode;
4: aload 0
aload 3
putfield org.graalvm.compiler.phases.common.inlining.walker.ComputeInliningRelevance$Scope.parent:Lorg/graalvm/compiler/phases/common/inlining/walker/ComputeInliningRelevance$Scope;
5: return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/compiler/phases/common/inlining/walker/ComputeInliningRelevance$Scope;
0 6 2 start Lorg/graalvm/compiler/nodes/FixedNode;
0 6 3 parent Lorg/graalvm/compiler/phases/common/inlining/walker/ComputeInliningRelevance$Scope;
MethodParameters:
Name Flags
this$0 final
start
parent
public double getFastPathMinProbability();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.phases.common.inlining.walker.ComputeInliningRelevance$Scope.fastPathMinProbability:D
ldc -1.0
dcmpl
ifne 2
1: aload 0
ldc 4.656612875245797E-10
aload 0
getfield org.graalvm.compiler.phases.common.inlining.walker.ComputeInliningRelevance$Scope.this$0:Lorg/graalvm/compiler/phases/common/inlining/walker/ComputeInliningRelevance;
aload 0
getfield org.graalvm.compiler.phases.common.inlining.walker.ComputeInliningRelevance$Scope.start:Lorg/graalvm/compiler/nodes/FixedNode;
invokevirtual org.graalvm.compiler.phases.common.inlining.walker.ComputeInliningRelevance.computeFastPathMinProbability:(Lorg/graalvm/compiler/nodes/FixedNode;)D
invokestatic java.lang.Math.max:(DD)D
putfield org.graalvm.compiler.phases.common.inlining.walker.ComputeInliningRelevance$Scope.fastPathMinProbability:D
2: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.phases.common.inlining.walker.ComputeInliningRelevance$Scope.fastPathMinProbability:D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/phases/common/inlining/walker/ComputeInliningRelevance$Scope;
RuntimeInvisibleAnnotations:
org.graalvm.compiler.core.common.SuppressFBWarnings(value = {"FE_FLOATING_POINT_EQUALITY"}, justification = "comparing against -1D is accurate")
RuntimeInvisibleTypeAnnotations:
METHOD_RETURN
org.graalvm.compiler.core.common.SuppressFBWarnings(value = {"FE_FLOATING_POINT_EQUALITY"}, justification = "comparing against -1D is accurate")
public double getScopeRelevanceWithinParent();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.phases.common.inlining.walker.ComputeInliningRelevance$Scope.scopeRelevanceWithinParent:D
ldc -1.0
dcmpl
ifne 7
1: aload 0
getfield org.graalvm.compiler.phases.common.inlining.walker.ComputeInliningRelevance$Scope.start:Lorg/graalvm/compiler/nodes/FixedNode;
instanceof org.graalvm.compiler.nodes.LoopBeginNode
ifeq 6
2: getstatic org.graalvm.compiler.phases.common.inlining.walker.ComputeInliningRelevance$Scope.$assertionsDisabled:Z
ifne 3
aload 0
getfield org.graalvm.compiler.phases.common.inlining.walker.ComputeInliningRelevance$Scope.parent:Lorg/graalvm/compiler/phases/common/inlining/walker/ComputeInliningRelevance$Scope;
ifnonnull 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.phases.common.inlining.walker.ComputeInliningRelevance$Scope.this$0:Lorg/graalvm/compiler/phases/common/inlining/walker/ComputeInliningRelevance;
getfield org.graalvm.compiler.phases.common.inlining.walker.ComputeInliningRelevance.nodeProbabilities:Ljava/util/function/ToDoubleFunction;
aload 0
getfield org.graalvm.compiler.phases.common.inlining.walker.ComputeInliningRelevance$Scope.start:Lorg/graalvm/compiler/nodes/FixedNode;
checkcast org.graalvm.compiler.nodes.LoopBeginNode
invokevirtual org.graalvm.compiler.nodes.LoopBeginNode.forwardEnd:()Lorg/graalvm/compiler/nodes/AbstractEndNode;
invokeinterface java.util.function.ToDoubleFunction.applyAsDouble:(Ljava/lang/Object;)D
dstore 1
start local 1 4: aload 0
dload 1
aload 0
getfield org.graalvm.compiler.phases.common.inlining.walker.ComputeInliningRelevance$Scope.parent:Lorg/graalvm/compiler/phases/common/inlining/walker/ComputeInliningRelevance$Scope;
invokevirtual org.graalvm.compiler.phases.common.inlining.walker.ComputeInliningRelevance$Scope.getFastPathMinProbability:()D
ddiv
putfield org.graalvm.compiler.phases.common.inlining.walker.ComputeInliningRelevance$Scope.scopeRelevanceWithinParent:D
end local 1 5: goto 7
6: StackMap locals:
StackMap stack:
aload 0
dconst_1
putfield org.graalvm.compiler.phases.common.inlining.walker.ComputeInliningRelevance$Scope.scopeRelevanceWithinParent:D
7: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.phases.common.inlining.walker.ComputeInliningRelevance$Scope.scopeRelevanceWithinParent:D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/graalvm/compiler/phases/common/inlining/walker/ComputeInliningRelevance$Scope;
4 5 1 scopeEntryProbability D
RuntimeInvisibleAnnotations:
org.graalvm.compiler.core.common.SuppressFBWarnings(value = {"FE_FLOATING_POINT_EQUALITY"}, justification = "comparing against -1D is accurate")
RuntimeInvisibleTypeAnnotations:
METHOD_RETURN
org.graalvm.compiler.core.common.SuppressFBWarnings(value = {"FE_FLOATING_POINT_EQUALITY"}, justification = "comparing against -1D is accurate")
public void process(org.graalvm.compiler.graph.NodeWorkList);
descriptor: (Lorg/graalvm/compiler/graph/NodeWorkList;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.phases.common.inlining.walker.ComputeInliningRelevance$Scope.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.graalvm.compiler.phases.common.inlining.walker.ComputeInliningRelevance$Scope.start:Lorg/graalvm/compiler/nodes/FixedNode;
instanceof org.graalvm.compiler.nodes.Invoke
ifeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield org.graalvm.compiler.phases.common.inlining.walker.ComputeInliningRelevance$Scope.start:Lorg/graalvm/compiler/nodes/FixedNode;
invokevirtual org.graalvm.compiler.nodes.FixedNode.successors:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokevirtual org.graalvm.compiler.graph.NodeWorkList.addAll:(Ljava/lang/Iterable;)V
2: aload 1
invokevirtual org.graalvm.compiler.graph.NodeWorkList.iterator:()Ljava/util/Iterator;
astore 3
goto 25
StackMap locals: org.graalvm.compiler.phases.common.inlining.walker.ComputeInliningRelevance$Scope org.graalvm.compiler.graph.NodeWorkList top java.util.Iterator
StackMap stack:
3: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.Node
astore 2
start local 2 4: getstatic org.graalvm.compiler.phases.common.inlining.walker.ComputeInliningRelevance$Scope.$assertionsDisabled:Z
ifne 5
aload 2
invokevirtual org.graalvm.compiler.graph.Node.isAlive:()Z
ifne 5
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
5: StackMap locals: org.graalvm.compiler.phases.common.inlining.walker.ComputeInliningRelevance$Scope org.graalvm.compiler.graph.NodeWorkList org.graalvm.compiler.graph.Node java.util.Iterator
StackMap stack:
aload 2
instanceof org.graalvm.compiler.nodes.Invoke
ifeq 9
6: aload 0
getfield org.graalvm.compiler.phases.common.inlining.walker.ComputeInliningRelevance$Scope.this$0:Lorg/graalvm/compiler/phases/common/inlining/walker/ComputeInliningRelevance;
getfield org.graalvm.compiler.phases.common.inlining.walker.ComputeInliningRelevance.nodeRelevances:Ljava/util/Map;
aload 2
checkcast org.graalvm.compiler.nodes.FixedNode
aload 0
aload 2
checkcast org.graalvm.compiler.nodes.Invoke
invokevirtual org.graalvm.compiler.phases.common.inlining.walker.ComputeInliningRelevance$Scope.computeInvokeRelevance:(Lorg/graalvm/compiler/nodes/Invoke;)D
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: aload 1
aload 2
invokevirtual org.graalvm.compiler.graph.Node.successors:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokevirtual org.graalvm.compiler.graph.NodeWorkList.addAll:(Ljava/lang/Iterable;)V
8: goto 25
StackMap locals:
StackMap stack:
9: aload 2
instanceof org.graalvm.compiler.nodes.LoopBeginNode
ifeq 12
10: aload 2
checkcast org.graalvm.compiler.nodes.LoopBeginNode
invokevirtual org.graalvm.compiler.nodes.LoopBeginNode.loopExits:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
aload 1
invokedynamic accept(Lorg/graalvm/compiler/graph/NodeWorkList;)Ljava/util/function/Consumer;
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;)V
org/graalvm/compiler/phases/common/inlining/walker/ComputeInliningRelevance$Scope.lambda$0(Lorg/graalvm/compiler/graph/NodeWorkList;Lorg/graalvm/compiler/nodes/LoopExitNode;)V (6)
(Lorg/graalvm/compiler/nodes/LoopExitNode;)V
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.forEach:(Ljava/util/function/Consumer;)V
11: goto 25
StackMap locals:
StackMap stack:
12: aload 2
instanceof org.graalvm.compiler.nodes.LoopEndNode
ifne 25
13: aload 2
instanceof org.graalvm.compiler.nodes.LoopExitNode
ifne 25
14: aload 2
instanceof org.graalvm.compiler.nodes.FixedWithNextNode
ifeq 17
15: aload 1
aload 2
checkcast org.graalvm.compiler.nodes.FixedWithNextNode
invokevirtual org.graalvm.compiler.nodes.FixedWithNextNode.next:()Lorg/graalvm/compiler/nodes/FixedNode;
invokevirtual org.graalvm.compiler.graph.NodeWorkList.add:(Lorg/graalvm/compiler/graph/Node;)V
16: goto 25
StackMap locals:
StackMap stack:
17: aload 2
instanceof org.graalvm.compiler.nodes.EndNode
ifeq 20
18: aload 1
aload 2
checkcast org.graalvm.compiler.nodes.EndNode
invokevirtual org.graalvm.compiler.nodes.EndNode.merge:()Lorg/graalvm/compiler/nodes/AbstractMergeNode;
invokevirtual org.graalvm.compiler.graph.NodeWorkList.add:(Lorg/graalvm/compiler/graph/Node;)V
19: goto 25
StackMap locals:
StackMap stack:
20: aload 2
instanceof org.graalvm.compiler.nodes.ControlSinkNode
ifne 25
21: aload 2
instanceof org.graalvm.compiler.nodes.ControlSplitNode
ifeq 24
22: aload 1
aload 2
invokevirtual org.graalvm.compiler.graph.Node.successors:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokevirtual org.graalvm.compiler.graph.NodeWorkList.addAll:(Ljava/lang/Iterable;)V
23: goto 25
24: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.phases.common.inlining.walker.ComputeInliningRelevance$Scope.$assertionsDisabled:Z
ifne 25
new java.lang.AssertionError
dup
aload 2
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 2 25: StackMap locals: org.graalvm.compiler.phases.common.inlining.walker.ComputeInliningRelevance$Scope org.graalvm.compiler.graph.NodeWorkList top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
26: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lorg/graalvm/compiler/phases/common/inlining/walker/ComputeInliningRelevance$Scope;
0 27 1 workList Lorg/graalvm/compiler/graph/NodeWorkList;
4 25 2 current Lorg/graalvm/compiler/graph/Node;
MethodParameters:
Name Flags
workList
public double computeInvokeRelevance(org.graalvm.compiler.nodes.Invoke);
descriptor: (Lorg/graalvm/compiler/nodes/Invoke;)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.phases.common.inlining.walker.ComputeInliningRelevance$Scope.this$0:Lorg/graalvm/compiler/phases/common/inlining/walker/ComputeInliningRelevance;
getfield org.graalvm.compiler.phases.common.inlining.walker.ComputeInliningRelevance.nodeProbabilities:Ljava/util/function/ToDoubleFunction;
aload 1
invokeinterface org.graalvm.compiler.nodes.Invoke.asNode:()Lorg/graalvm/compiler/nodes/FixedNode;
invokeinterface java.util.function.ToDoubleFunction.applyAsDouble:(Ljava/lang/Object;)D
dstore 2
start local 2 1: getstatic org.graalvm.compiler.phases.common.inlining.walker.ComputeInliningRelevance$Scope.$assertionsDisabled:Z
ifne 2
dload 2
invokestatic java.lang.Double.isNaN:(D)Z
ifeq 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: double
StackMap stack:
dload 2
aload 0
invokevirtual org.graalvm.compiler.phases.common.inlining.walker.ComputeInliningRelevance$Scope.getFastPathMinProbability:()D
ddiv
dconst_1
aload 0
invokevirtual org.graalvm.compiler.phases.common.inlining.walker.ComputeInliningRelevance$Scope.getScopeRelevanceWithinParent:()D
invokestatic java.lang.Math.min:(DD)D
dmul
dstore 4
start local 4 3: getstatic org.graalvm.compiler.phases.common.inlining.walker.ComputeInliningRelevance$Scope.$assertionsDisabled:Z
ifne 4
dload 4
invokestatic java.lang.Double.isNaN:(D)Z
ifeq 4
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
dload 4
invokevirtual java.lang.StringBuilder.append:(D)Ljava/lang/StringBuilder;
ldc " / "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
dload 2
invokevirtual java.lang.StringBuilder.append:(D)Ljava/lang/StringBuilder;
ldc " / "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.graalvm.compiler.phases.common.inlining.walker.ComputeInliningRelevance$Scope.getFastPathMinProbability:()D
invokevirtual java.lang.StringBuilder.append:(D)Ljava/lang/StringBuilder;
ldc " / "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.graalvm.compiler.phases.common.inlining.walker.ComputeInliningRelevance$Scope.getScopeRelevanceWithinParent:()D
invokevirtual java.lang.StringBuilder.append:(D)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
4: StackMap locals: double
StackMap stack:
dload 4
dreturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/phases/common/inlining/walker/ComputeInliningRelevance$Scope;
0 5 1 invoke Lorg/graalvm/compiler/nodes/Invoke;
1 5 2 invokeProbability D
3 5 4 relevance D
MethodParameters:
Name Flags
invoke
private static void lambda$0(org.graalvm.compiler.graph.NodeWorkList, org.graalvm.compiler.nodes.LoopExitNode);
descriptor: (Lorg/graalvm/compiler/graph/NodeWorkList;Lorg/graalvm/compiler/nodes/LoopExitNode;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 0
aload 1
invokevirtual org.graalvm.compiler.nodes.LoopExitNode.next:()Lorg/graalvm/compiler/nodes/FixedNode;
invokevirtual org.graalvm.compiler.graph.NodeWorkList.add:(Lorg/graalvm/compiler/graph/Node;)V
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 exit Lorg/graalvm/compiler/nodes/LoopExitNode;
}
SourceFile: "ComputeInliningRelevance.java"
NestHost: org.graalvm.compiler.phases.common.inlining.walker.ComputeInliningRelevance
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
private Scope = org.graalvm.compiler.phases.common.inlining.walker.ComputeInliningRelevance$Scope of org.graalvm.compiler.phases.common.inlining.walker.ComputeInliningRelevance