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: 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 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/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 start local 1 0: aload 1
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
start local 2 2: aload 2
invokevirtual org.graalvm.compiler.nodes.java.MonitorExitNode.next:()Lorg/graalvm/compiler/nodes/FixedNode;
astore 4
start local 4 3: aload 4
instanceof org.graalvm.compiler.nodes.java.MonitorEnterNode
ifne 4
aload 4
instanceof org.graalvm.compiler.nodes.java.RawMonitorEnterNode
ifeq 13
4: 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
instanceof org.graalvm.compiler.nodes.extended.OSRMonitorEnterNode
ifeq 5
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
5: StackMap locals:
StackMap stack:
aload 4
checkcast org.graalvm.compiler.nodes.java.AccessMonitorNode
astore 5
start local 5 6: aload 5
aload 2
invokestatic org.graalvm.compiler.phases.common.LockEliminationPhase.isCompatibleLock:(Lorg/graalvm/compiler/nodes/java/AccessMonitorNode;Lorg/graalvm/compiler/nodes/java/AccessMonitorNode;)Z
ifeq 13
7: aload 5
invokevirtual org.graalvm.compiler.nodes.java.AccessMonitorNode.getMonitorId:()Lorg/graalvm/compiler/nodes/java/MonitorIdNode;
astore 6
start local 6 8: aload 2
invokevirtual org.graalvm.compiler.nodes.java.MonitorExitNode.getMonitorId:()Lorg/graalvm/compiler/nodes/java/MonitorIdNode;
astore 7
start local 7 9: aload 6
aload 7
if_acmpeq 11
10: aload 6
aload 7
invokevirtual org.graalvm.compiler.nodes.java.MonitorIdNode.replaceAndDelete:(Lorg/graalvm/compiler/graph/Node;)V
11: StackMap locals: org.graalvm.compiler.nodes.java.AccessMonitorNode org.graalvm.compiler.nodes.java.MonitorIdNode org.graalvm.compiler.nodes.java.MonitorIdNode
StackMap stack:
aload 5
invokestatic org.graalvm.compiler.nodes.util.GraphUtil.removeFixedWithUnusedInputs:(Lorg/graalvm/compiler/nodes/FixedWithNextNode;)V
12: aload 2
invokestatic org.graalvm.compiler.nodes.util.GraphUtil.removeFixedWithUnusedInputs:(Lorg/graalvm/compiler/nodes/FixedWithNextNode;)V
end local 7 end local 6 end local 5 end local 4 end local 2 13: 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: return
end local 1 end local 0 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
public static boolean isCompatibleLock(org.graalvm.compiler.nodes.java.AccessMonitorNode, org.graalvm.compiler.nodes.java.AccessMonitorNode);
descriptor: (Lorg/graalvm/compiler/nodes/java/AccessMonitorNode;Lorg/graalvm/compiler/nodes/java/AccessMonitorNode;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
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;
astore 2
start local 2 1: aload 1
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;
astore 3
start local 3 2: aload 2
aload 3
if_acmpne 3
aload 0
invokevirtual org.graalvm.compiler.nodes.java.AccessMonitorNode.getMonitorId:()Lorg/graalvm/compiler/nodes/java/MonitorIdNode;
invokevirtual org.graalvm.compiler.nodes.java.MonitorIdNode.getLockDepth:()I
aload 1
invokevirtual org.graalvm.compiler.nodes.java.AccessMonitorNode.getMonitorId:()Lorg/graalvm/compiler/nodes/java/MonitorIdNode;
invokevirtual org.graalvm.compiler.nodes.java.MonitorIdNode.getLockDepth:()I
if_icmpne 3
iconst_1
ireturn
StackMap locals: org.graalvm.compiler.nodes.ValueNode org.graalvm.compiler.nodes.ValueNode
StackMap stack:
3: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 lock1 Lorg/graalvm/compiler/nodes/java/AccessMonitorNode;
0 4 1 lock2 Lorg/graalvm/compiler/nodes/java/AccessMonitorNode;
1 4 2 object1 Lorg/graalvm/compiler/nodes/ValueNode;
2 4 3 object2 Lorg/graalvm/compiler/nodes/ValueNode;
MethodParameters:
Name Flags
lock1
lock2
}
SourceFile: "LockEliminationPhase.java"