public class java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock implements java.util.concurrent.locks.Lock, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock
super_class: java.lang.Object
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -5992448646407690164
private final java.util.concurrent.locks.ReentrantReadWriteLock$Sync sync;
descriptor: Ljava/util/concurrent/locks/ReentrantReadWriteLock$Sync;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
protected void <init>(java.util.concurrent.locks.ReentrantReadWriteLock);
descriptor: (Ljava/util/concurrent/locks/ReentrantReadWriteLock;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
getfield java.util.concurrent.locks.ReentrantReadWriteLock.sync:Ljava/util/concurrent/locks/ReentrantReadWriteLock$Sync;
putfield java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock.sync:Ljava/util/concurrent/locks/ReentrantReadWriteLock$Sync;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/util/concurrent/locks/ReentrantReadWriteLock$ReadLock;
0 3 1 lock Ljava/util/concurrent/locks/ReentrantReadWriteLock;
MethodParameters:
Name Flags
lock
public void lock();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock.sync:Ljava/util/concurrent/locks/ReentrantReadWriteLock$Sync;
iconst_1
invokevirtual java.util.concurrent.locks.ReentrantReadWriteLock$Sync.acquireShared:(I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/concurrent/locks/ReentrantReadWriteLock$ReadLock;
public void lockInterruptibly();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock.sync:Ljava/util/concurrent/locks/ReentrantReadWriteLock$Sync;
iconst_1
invokevirtual java.util.concurrent.locks.ReentrantReadWriteLock$Sync.acquireSharedInterruptibly:(I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/concurrent/locks/ReentrantReadWriteLock$ReadLock;
Exceptions:
throws java.lang.InterruptedException
public boolean tryLock();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock.sync:Ljava/util/concurrent/locks/ReentrantReadWriteLock$Sync;
invokevirtual java.util.concurrent.locks.ReentrantReadWriteLock$Sync.tryReadLock:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/concurrent/locks/ReentrantReadWriteLock$ReadLock;
public boolean tryLock(long, java.util.concurrent.TimeUnit);
descriptor: (JLjava/util/concurrent/TimeUnit;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
getfield java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock.sync:Ljava/util/concurrent/locks/ReentrantReadWriteLock$Sync;
iconst_1
aload 3
lload 1
invokevirtual java.util.concurrent.TimeUnit.toNanos:(J)J
invokevirtual java.util.concurrent.locks.ReentrantReadWriteLock$Sync.tryAcquireSharedNanos:(IJ)Z
ireturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/concurrent/locks/ReentrantReadWriteLock$ReadLock;
0 1 1 timeout J
0 1 3 unit Ljava/util/concurrent/TimeUnit;
Exceptions:
throws java.lang.InterruptedException
MethodParameters:
Name Flags
timeout
unit
public void unlock();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock.sync:Ljava/util/concurrent/locks/ReentrantReadWriteLock$Sync;
iconst_1
invokevirtual java.util.concurrent.locks.ReentrantReadWriteLock$Sync.releaseShared:(I)Z
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/concurrent/locks/ReentrantReadWriteLock$ReadLock;
public java.util.concurrent.locks.Condition newCondition();
descriptor: ()Ljava/util/concurrent/locks/Condition;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/concurrent/locks/ReentrantReadWriteLock$ReadLock;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock.sync:Ljava/util/concurrent/locks/ReentrantReadWriteLock$Sync;
invokevirtual java.util.concurrent.locks.ReentrantReadWriteLock$Sync.getReadLockCount:()I
istore 1
start local 1 1: new java.lang.StringBuilder
dup
aload 0
invokespecial java.lang.Object.toString:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
2: ldc "[Read locks = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/util/concurrent/locks/ReentrantReadWriteLock$ReadLock;
1 4 1 r I
}
SourceFile: "ReentrantReadWriteLock.java"
NestHost: java.util.concurrent.locks.ReentrantReadWriteLock
InnerClasses:
public ReadLock = java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock of java.util.concurrent.locks.ReentrantReadWriteLock
abstract Sync = java.util.concurrent.locks.ReentrantReadWriteLock$Sync of java.util.concurrent.locks.ReentrantReadWriteLock