public final class sun.misc.ConditionLock extends sun.misc.Lock
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: sun.misc.ConditionLock
super_class: sun.misc.Lock
{
private int state;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial sun.misc.Lock.<init>:()V
1: aload 0
iconst_0
putfield sun.misc.ConditionLock.state:I
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/misc/ConditionLock;
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial sun.misc.Lock.<init>:()V
1: aload 0
iconst_0
putfield sun.misc.ConditionLock.state:I
2: aload 0
iload 1
putfield sun.misc.ConditionLock.state:I
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/misc/ConditionLock;
0 4 1 initialState I
MethodParameters:
Name Flags
initialState
public synchronized void lockWhen(int);
descriptor: (I)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: goto 2
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Object.wait:()V
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.misc.ConditionLock.state:I
iload 1
if_icmpne 1
3: aload 0
invokevirtual sun.misc.ConditionLock.lock:()V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/misc/ConditionLock;
0 5 1 desiredState I
Exceptions:
throws java.lang.InterruptedException
MethodParameters:
Name Flags
desiredState
public synchronized void unlockWith(int);
descriptor: (I)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield sun.misc.ConditionLock.state:I
1: aload 0
invokevirtual sun.misc.ConditionLock.unlock:()V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/misc/ConditionLock;
0 3 1 newState I
MethodParameters:
Name Flags
newState
}
SourceFile: "ConditionLock.java"