public class org.graalvm.compiler.phases.common.LockEliminationPhase 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.LockEliminationPhase
super_class: org.graalvm.compiler.phases.Phase
{
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: .line 36
ldc Lorg/graalvm/compiler/phases/common/LockEliminationPhase;
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.LockEliminationPhase.$assertionsDisabled: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 // org.graalvm.compiler.phases.common.LockEliminationPhase this
0: .line 36
aload 0 /* this */
invokespecial org.graalvm.compiler.phases.Phase.<init>:()V
return
end local 0 // org.graalvm.compiler.phases.common.LockEliminationPhase this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/phases/common/LockEliminationPhase;
protected void run(org.graalvm.compiler.nodes.StructuredGraph);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=8, args_size=2
start local 0 // org.graalvm.compiler.phases.common.LockEliminationPhase this
start local 1 // org.graalvm.compiler.nodes.StructuredGraph graph
0: .line 40
aload 1 /* graph */
getstatic org.graalvm.compiler.nodes.java.MonitorExitNode.TYPE:Lorg/graalvm/compiler/graph/NodeClass;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getNodes:(Lorg/graalvm/compiler/graph/NodeClass;)Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.iterator:()Ljava/util/Iterator;
astore 3
goto 13
StackMap locals: org.graalvm.compiler.phases.common.LockEliminationPhase org.graalvm.compiler.nodes.StructuredGraph top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.java.MonitorExitNode
astore 2 /* monitorExitNode */
start local 2 // org.graalvm.compiler.nodes.java.MonitorExitNode monitorExitNode
2: .line 41
aload 2 /* monitorExitNode */
invokevirtual org.graalvm.compiler.nodes.java.MonitorExitNode.next:()Lorg/graalvm/compiler/nodes/FixedNode;
astore 4 /* next */
start local 4 // org.graalvm.compiler.nodes.FixedNode next
3: .line 42
aload 4 /* next */
instanceof org.graalvm.compiler.nodes.java.MonitorEnterNode
ifne 4
aload 4 /* next */
instanceof org.graalvm.compiler.nodes.java.RawMonitorEnterNode
ifeq 13
4: .line 45
StackMap locals: org.graalvm.compiler.phases.common.LockEliminationPhase org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.java.MonitorExitNode java.util.Iterator org.graalvm.compiler.nodes.FixedNode
StackMap stack:
getstatic org.graalvm.compiler.phases.common.LockEliminationPhase.$assertionsDisabled:Z
ifne 5
aload 4 /* next */
instanceof org.graalvm.compiler.nodes.extended.OSRMonitorEnterNode
ifeq 5
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
5: .line 46
StackMap locals:
StackMap stack:
aload 4 /* next */
checkcast org.graalvm.compiler.nodes.java.AccessMonitorNode
astore 5 /* monitorEnterNode */
start local 5 // org.graalvm.compiler.nodes.java.AccessMonitorNode monitorEnterNode
6: .line 47
aload 5 /* monitorEnterNode */
invokevirtual org.graalvm.compiler.nodes.java.AccessMonitorNode.object:()Lorg/graalvm/compiler/nodes/ValueNode;
invokestatic org.graalvm.compiler.nodes.util.GraphUtil.unproxify:(Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
aload 2 /* monitorExitNode */
invokevirtual org.graalvm.compiler.nodes.java.MonitorExitNode.object:()Lorg/graalvm/compiler/nodes/ValueNode;
invokestatic org.graalvm.compiler.nodes.util.GraphUtil.unproxify:(Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
if_acmpne 13
7: .line 52
aload 5 /* monitorEnterNode */
invokevirtual org.graalvm.compiler.nodes.java.AccessMonitorNode.getMonitorId:()Lorg/graalvm/compiler/nodes/java/MonitorIdNode;
astore 6 /* enterId */
start local 6 // org.graalvm.compiler.nodes.java.MonitorIdNode enterId
8: .line 53
aload 2 /* monitorExitNode */
invokevirtual org.graalvm.compiler.nodes.java.MonitorExitNode.getMonitorId:()Lorg/graalvm/compiler/nodes/java/MonitorIdNode;
astore 7 /* exitId */
start local 7 // org.graalvm.compiler.nodes.java.MonitorIdNode exitId
9: .line 54
aload 6 /* enterId */
aload 7 /* exitId */
if_acmpeq 11
10: .line 55
aload 6 /* enterId */
aload 7 /* exitId */
invokevirtual org.graalvm.compiler.nodes.java.MonitorIdNode.replaceAndDelete:(Lorg/graalvm/compiler/graph/Node;)V
11: .line 57
StackMap locals: org.graalvm.compiler.nodes.java.AccessMonitorNode org.graalvm.compiler.nodes.java.MonitorIdNode org.graalvm.compiler.nodes.java.MonitorIdNode
StackMap stack:
aload 5 /* monitorEnterNode */
invokestatic org.graalvm.compiler.nodes.util.GraphUtil.removeFixedWithUnusedInputs:(Lorg/graalvm/compiler/nodes/FixedWithNextNode;)V
12: .line 58
aload 2 /* monitorExitNode */
invokestatic org.graalvm.compiler.nodes.util.GraphUtil.removeFixedWithUnusedInputs:(Lorg/graalvm/compiler/nodes/FixedWithNextNode;)V
end local 7 // org.graalvm.compiler.nodes.java.MonitorIdNode exitId
end local 6 // org.graalvm.compiler.nodes.java.MonitorIdNode enterId
end local 5 // org.graalvm.compiler.nodes.java.AccessMonitorNode monitorEnterNode
end local 4 // org.graalvm.compiler.nodes.FixedNode next
end local 2 // org.graalvm.compiler.nodes.java.MonitorExitNode monitorExitNode
13: .line 40
StackMap locals: org.graalvm.compiler.phases.common.LockEliminationPhase org.graalvm.compiler.nodes.StructuredGraph top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
14: .line 62
return
end local 1 // org.graalvm.compiler.nodes.StructuredGraph graph
end local 0 // org.graalvm.compiler.phases.common.LockEliminationPhase this
LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/graalvm/compiler/phases/common/LockEliminationPhase;
0 15 1 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
2 13 2 monitorExitNode Lorg/graalvm/compiler/nodes/java/MonitorExitNode;
3 13 4 next Lorg/graalvm/compiler/nodes/FixedNode;
6 13 5 monitorEnterNode Lorg/graalvm/compiler/nodes/java/AccessMonitorNode;
8 13 6 enterId Lorg/graalvm/compiler/nodes/java/MonitorIdNode;
9 13 7 exitId Lorg/graalvm/compiler/nodes/java/MonitorIdNode;
MethodParameters:
Name Flags
graph
}
SourceFile: "LockEliminationPhase.java"