public class java.util.concurrent.LinkedBlockingQueue<E> extends java.util.AbstractQueue<E> implements java.util.concurrent.BlockingQueue<E>, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: java.util.concurrent.LinkedBlockingQueue
super_class: java.util.AbstractQueue
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -6903933977591709194
private final int capacity;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.atomic.AtomicInteger count;
descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
transient java.util.concurrent.LinkedBlockingQueue$Node<E> head;
descriptor: Ljava/util/concurrent/LinkedBlockingQueue$Node;
flags: (0x0080) ACC_TRANSIENT
Signature: Ljava/util/concurrent/LinkedBlockingQueue$Node<TE;>;
private transient java.util.concurrent.LinkedBlockingQueue$Node<E> last;
descriptor: Ljava/util/concurrent/LinkedBlockingQueue$Node;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
Signature: Ljava/util/concurrent/LinkedBlockingQueue$Node<TE;>;
private final java.util.concurrent.locks.ReentrantLock takeLock;
descriptor: Ljava/util/concurrent/locks/ReentrantLock;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.locks.Condition notEmpty;
descriptor: Ljava/util/concurrent/locks/Condition;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.locks.ReentrantLock putLock;
descriptor: Ljava/util/concurrent/locks/ReentrantLock;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.locks.Condition notFull;
descriptor: Ljava/util/concurrent/locks/Condition;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private void signalNotEmpty();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=3, args_size=1
start local 0 0: aload 0
getfield java.util.concurrent.LinkedBlockingQueue.takeLock:Ljava/util/concurrent/locks/ReentrantLock;
astore 1
start local 1 1: aload 1
invokevirtual java.util.concurrent.locks.ReentrantLock.lock:()V
2: aload 0
getfield java.util.concurrent.LinkedBlockingQueue.notEmpty:Ljava/util/concurrent/locks/Condition;
invokeinterface java.util.concurrent.locks.Condition.signal:()V
3: goto 7
StackMap locals: java.util.concurrent.LinkedBlockingQueue java.util.concurrent.locks.ReentrantLock
StackMap stack: java.lang.Throwable
4: astore 2
5: aload 1
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
6: aload 2
athrow
7: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljava/util/concurrent/LinkedBlockingQueue<TE;>;
1 9 1 takeLock Ljava/util/concurrent/locks/ReentrantLock;
Exception table:
from to target type
2 4 4 any
private void signalNotFull();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=3, args_size=1
start local 0 0: aload 0
getfield java.util.concurrent.LinkedBlockingQueue.putLock:Ljava/util/concurrent/locks/ReentrantLock;
astore 1
start local 1 1: aload 1
invokevirtual java.util.concurrent.locks.ReentrantLock.lock:()V
2: aload 0
getfield java.util.concurrent.LinkedBlockingQueue.notFull:Ljava/util/concurrent/locks/Condition;
invokeinterface java.util.concurrent.locks.Condition.signal:()V
3: goto 7
StackMap locals: java.util.concurrent.LinkedBlockingQueue java.util.concurrent.locks.ReentrantLock
StackMap stack: java.lang.Throwable
4: astore 2
5: aload 1
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
6: aload 2
athrow
7: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljava/util/concurrent/LinkedBlockingQueue<TE;>;
1 9 1 putLock Ljava/util/concurrent/locks/ReentrantLock;
Exception table:
from to target type
2 4 4 any
private void enqueue(java.util.concurrent.LinkedBlockingQueue$Node<E>);
descriptor: (Ljava/util/concurrent/LinkedBlockingQueue$Node;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield java.util.concurrent.LinkedBlockingQueue.last:Ljava/util/concurrent/LinkedBlockingQueue$Node;
aload 1
dup_x1
putfield java.util.concurrent.LinkedBlockingQueue$Node.next:Ljava/util/concurrent/LinkedBlockingQueue$Node;
putfield java.util.concurrent.LinkedBlockingQueue.last:Ljava/util/concurrent/LinkedBlockingQueue$Node;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/concurrent/LinkedBlockingQueue<TE;>;
0 2 1 node Ljava/util/concurrent/LinkedBlockingQueue$Node<TE;>;
Signature: (Ljava/util/concurrent/LinkedBlockingQueue$Node<TE;>;)V
MethodParameters:
Name Flags
node
private E dequeue();
descriptor: ()Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
getfield java.util.concurrent.LinkedBlockingQueue.head:Ljava/util/concurrent/LinkedBlockingQueue$Node;
astore 1
start local 1 1: aload 1
getfield java.util.concurrent.LinkedBlockingQueue$Node.next:Ljava/util/concurrent/LinkedBlockingQueue$Node;
astore 2
start local 2 2: aload 1
aload 1
putfield java.util.concurrent.LinkedBlockingQueue$Node.next:Ljava/util/concurrent/LinkedBlockingQueue$Node;
3: aload 0
aload 2
putfield java.util.concurrent.LinkedBlockingQueue.head:Ljava/util/concurrent/LinkedBlockingQueue$Node;
4: aload 2
getfield java.util.concurrent.LinkedBlockingQueue$Node.item:Ljava/lang/Object;
astore 3
start local 3 5: aload 2
aconst_null
putfield java.util.concurrent.LinkedBlockingQueue$Node.item:Ljava/lang/Object;
6: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljava/util/concurrent/LinkedBlockingQueue<TE;>;
1 7 1 h Ljava/util/concurrent/LinkedBlockingQueue$Node<TE;>;
2 7 2 first Ljava/util/concurrent/LinkedBlockingQueue$Node<TE;>;
5 7 3 x TE;
Signature: ()TE;
void fullyLock();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.concurrent.LinkedBlockingQueue.putLock:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.lock:()V
1: aload 0
getfield java.util.concurrent.LinkedBlockingQueue.takeLock:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.lock:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/util/concurrent/LinkedBlockingQueue<TE;>;
void fullyUnlock();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.concurrent.LinkedBlockingQueue.takeLock:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
1: aload 0
getfield java.util.concurrent.LinkedBlockingQueue.putLock:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/util/concurrent/LinkedBlockingQueue<TE;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc 2147483647
invokespecial java.util.concurrent.LinkedBlockingQueue.<init>:(I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/concurrent/LinkedBlockingQueue<TE;>;
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.util.AbstractQueue.<init>:()V
1: aload 0
new java.util.concurrent.atomic.AtomicInteger
dup
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:()V
putfield java.util.concurrent.LinkedBlockingQueue.count:Ljava/util/concurrent/atomic/AtomicInteger;
2: aload 0
new java.util.concurrent.locks.ReentrantLock
dup
invokespecial java.util.concurrent.locks.ReentrantLock.<init>:()V
putfield java.util.concurrent.LinkedBlockingQueue.takeLock:Ljava/util/concurrent/locks/ReentrantLock;
3: aload 0
aload 0
getfield java.util.concurrent.LinkedBlockingQueue.takeLock:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.newCondition:()Ljava/util/concurrent/locks/Condition;
putfield java.util.concurrent.LinkedBlockingQueue.notEmpty:Ljava/util/concurrent/locks/Condition;
4: aload 0
new java.util.concurrent.locks.ReentrantLock
dup
invokespecial java.util.concurrent.locks.ReentrantLock.<init>:()V
putfield java.util.concurrent.LinkedBlockingQueue.putLock:Ljava/util/concurrent/locks/ReentrantLock;
5: aload 0
aload 0
getfield java.util.concurrent.LinkedBlockingQueue.putLock:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.newCondition:()Ljava/util/concurrent/locks/Condition;
putfield java.util.concurrent.LinkedBlockingQueue.notFull:Ljava/util/concurrent/locks/Condition;
6: iload 1
ifgt 7
new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
7: StackMap locals: java.util.concurrent.LinkedBlockingQueue int
StackMap stack:
aload 0
iload 1
putfield java.util.concurrent.LinkedBlockingQueue.capacity:I
8: aload 0
aload 0
new java.util.concurrent.LinkedBlockingQueue$Node
dup
aconst_null
invokespecial java.util.concurrent.LinkedBlockingQueue$Node.<init>:(Ljava/lang/Object;)V
dup_x1
putfield java.util.concurrent.LinkedBlockingQueue.head:Ljava/util/concurrent/LinkedBlockingQueue$Node;
putfield java.util.concurrent.LinkedBlockingQueue.last:Ljava/util/concurrent/LinkedBlockingQueue$Node;
9: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljava/util/concurrent/LinkedBlockingQueue<TE;>;
0 10 1 capacity I
MethodParameters:
Name Flags
capacity
public void <init>(java.util.Collection<? extends E>);
descriptor: (Ljava/util/Collection;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: aload 0
ldc 2147483647
invokespecial java.util.concurrent.LinkedBlockingQueue.<init>:(I)V
1: aload 0
getfield java.util.concurrent.LinkedBlockingQueue.putLock:Ljava/util/concurrent/locks/ReentrantLock;
astore 2
start local 2 2: aload 2
invokevirtual java.util.concurrent.locks.ReentrantLock.lock:()V
3: iconst_0
istore 3
start local 3 4: aload 1
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 5
goto 12
StackMap locals: java.util.concurrent.LinkedBlockingQueue java.util.Collection java.util.concurrent.locks.ReentrantLock int top java.util.Iterator
StackMap stack:
5: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Object
astore 4
start local 4 6: aload 4
ifnonnull 8
7: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
8: StackMap locals: java.util.concurrent.LinkedBlockingQueue java.util.Collection java.util.concurrent.locks.ReentrantLock int java.lang.Object java.util.Iterator
StackMap stack:
iload 3
aload 0
getfield java.util.concurrent.LinkedBlockingQueue.capacity:I
if_icmpne 10
9: new java.lang.IllegalStateException
dup
ldc "Queue full"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack:
aload 0
new java.util.concurrent.LinkedBlockingQueue$Node
dup
aload 4
invokespecial java.util.concurrent.LinkedBlockingQueue$Node.<init>:(Ljava/lang/Object;)V
invokevirtual java.util.concurrent.LinkedBlockingQueue.enqueue:(Ljava/util/concurrent/LinkedBlockingQueue$Node;)V
11: iinc 3 1
end local 4 12: StackMap locals: java.util.concurrent.LinkedBlockingQueue java.util.Collection java.util.concurrent.locks.ReentrantLock int top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
13: aload 0
getfield java.util.concurrent.LinkedBlockingQueue.count:Ljava/util/concurrent/atomic/AtomicInteger;
iload 3
invokevirtual java.util.concurrent.atomic.AtomicInteger.set:(I)V
end local 3 14: goto 18
StackMap locals: java.util.concurrent.LinkedBlockingQueue java.util.Collection java.util.concurrent.locks.ReentrantLock
StackMap stack: java.lang.Throwable
15: astore 6
16: aload 2
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
17: aload 6
athrow
18: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
19: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Ljava/util/concurrent/LinkedBlockingQueue<TE;>;
0 20 1 c Ljava/util/Collection<+TE;>;
2 20 2 putLock Ljava/util/concurrent/locks/ReentrantLock;
4 14 3 n I
6 12 4 e TE;
Exception table:
from to target type
3 15 15 any
Signature: (Ljava/util/Collection<+TE;>;)V
MethodParameters:
Name Flags
c
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.concurrent.LinkedBlockingQueue.count:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/concurrent/LinkedBlockingQueue<TE;>;
public int remainingCapacity();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.concurrent.LinkedBlockingQueue.capacity:I
aload 0
getfield java.util.concurrent.LinkedBlockingQueue.count:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
isub
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/concurrent/LinkedBlockingQueue<TE;>;
public void put();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 1
new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
new java.util.concurrent.LinkedBlockingQueue$Node
dup
aload 1
invokespecial java.util.concurrent.LinkedBlockingQueue$Node.<init>:(Ljava/lang/Object;)V
astore 3
start local 3 2: aload 0
getfield java.util.concurrent.LinkedBlockingQueue.putLock:Ljava/util/concurrent/locks/ReentrantLock;
astore 4
start local 4 3: aload 0
getfield java.util.concurrent.LinkedBlockingQueue.count:Ljava/util/concurrent/atomic/AtomicInteger;
astore 5
start local 5 4: aload 4
invokevirtual java.util.concurrent.locks.ReentrantLock.lockInterruptibly:()V
5: goto 7
6: StackMap locals: java.util.concurrent.LinkedBlockingQueue java.lang.Object top java.util.concurrent.LinkedBlockingQueue$Node java.util.concurrent.locks.ReentrantLock java.util.concurrent.atomic.AtomicInteger
StackMap stack:
aload 0
getfield java.util.concurrent.LinkedBlockingQueue.notFull:Ljava/util/concurrent/locks/Condition;
invokeinterface java.util.concurrent.locks.Condition.await:()V
7: StackMap locals:
StackMap stack:
aload 5
invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
aload 0
getfield java.util.concurrent.LinkedBlockingQueue.capacity:I
if_icmpeq 6
8: aload 0
aload 3
invokevirtual java.util.concurrent.LinkedBlockingQueue.enqueue:(Ljava/util/concurrent/LinkedBlockingQueue$Node;)V
9: aload 5
invokevirtual java.util.concurrent.atomic.AtomicInteger.getAndIncrement:()I
istore 2
start local 2 10: iload 2
iconst_1
iadd
aload 0
getfield java.util.concurrent.LinkedBlockingQueue.capacity:I
if_icmpge 16
11: aload 0
getfield java.util.concurrent.LinkedBlockingQueue.notFull:Ljava/util/concurrent/locks/Condition;
invokeinterface java.util.concurrent.locks.Condition.signal:()V
12: goto 16
end local 2 StackMap locals:
StackMap stack: java.lang.Throwable
13: astore 6
14: aload 4
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
15: aload 6
athrow
start local 2 16: StackMap locals: java.util.concurrent.LinkedBlockingQueue java.lang.Object int java.util.concurrent.LinkedBlockingQueue$Node java.util.concurrent.locks.ReentrantLock java.util.concurrent.atomic.AtomicInteger
StackMap stack:
aload 4
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
17: iload 2
ifne 19
18: aload 0
invokevirtual java.util.concurrent.LinkedBlockingQueue.signalNotEmpty:()V
19: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Ljava/util/concurrent/LinkedBlockingQueue<TE;>;
0 20 1 e TE;
10 13 2 c I
16 20 2 c I
2 20 3 node Ljava/util/concurrent/LinkedBlockingQueue$Node<TE;>;
3 20 4 putLock Ljava/util/concurrent/locks/ReentrantLock;
4 20 5 count Ljava/util/concurrent/atomic/AtomicInteger;
Exception table:
from to target type
5 13 13 any
Exceptions:
throws java.lang.InterruptedException
Signature: (TE;)V
MethodParameters:
Name Flags
e
public boolean offer(E, long, java.util.concurrent.TimeUnit);
descriptor: (Ljava/lang/Object;JLjava/util/concurrent/TimeUnit;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=11, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 1
ifnonnull 1
new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 4
lload 2
invokevirtual java.util.concurrent.TimeUnit.toNanos:(J)J
lstore 5
start local 5 2: aload 0
getfield java.util.concurrent.LinkedBlockingQueue.putLock:Ljava/util/concurrent/locks/ReentrantLock;
astore 8
start local 8 3: aload 0
getfield java.util.concurrent.LinkedBlockingQueue.count:Ljava/util/concurrent/atomic/AtomicInteger;
astore 9
start local 9 4: aload 8
invokevirtual java.util.concurrent.locks.ReentrantLock.lockInterruptibly:()V
5: goto 10
6: StackMap locals: java.util.concurrent.LinkedBlockingQueue java.lang.Object long java.util.concurrent.TimeUnit long top java.util.concurrent.locks.ReentrantLock java.util.concurrent.atomic.AtomicInteger
StackMap stack:
lload 5
lconst_0
lcmp
ifgt 9
7: aload 8
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
8: iconst_0
ireturn
9: StackMap locals:
StackMap stack:
aload 0
getfield java.util.concurrent.LinkedBlockingQueue.notFull:Ljava/util/concurrent/locks/Condition;
lload 5
invokeinterface java.util.concurrent.locks.Condition.awaitNanos:(J)J
lstore 5
10: StackMap locals:
StackMap stack:
aload 9
invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
aload 0
getfield java.util.concurrent.LinkedBlockingQueue.capacity:I
if_icmpeq 6
11: aload 0
new java.util.concurrent.LinkedBlockingQueue$Node
dup
aload 1
invokespecial java.util.concurrent.LinkedBlockingQueue$Node.<init>:(Ljava/lang/Object;)V
invokevirtual java.util.concurrent.LinkedBlockingQueue.enqueue:(Ljava/util/concurrent/LinkedBlockingQueue$Node;)V
12: aload 9
invokevirtual java.util.concurrent.atomic.AtomicInteger.getAndIncrement:()I
istore 7
start local 7 13: iload 7
iconst_1
iadd
aload 0
getfield java.util.concurrent.LinkedBlockingQueue.capacity:I
if_icmpge 19
14: aload 0
getfield java.util.concurrent.LinkedBlockingQueue.notFull:Ljava/util/concurrent/locks/Condition;
invokeinterface java.util.concurrent.locks.Condition.signal:()V
15: goto 19
end local 7 StackMap locals:
StackMap stack: java.lang.Throwable
16: astore 10
17: aload 8
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
18: aload 10
athrow
start local 7 19: StackMap locals: java.util.concurrent.LinkedBlockingQueue java.lang.Object long java.util.concurrent.TimeUnit long int java.util.concurrent.locks.ReentrantLock java.util.concurrent.atomic.AtomicInteger
StackMap stack:
aload 8
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
20: iload 7
ifne 22
21: aload 0
invokevirtual java.util.concurrent.LinkedBlockingQueue.signalNotEmpty:()V
22: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 9 end local 8 end local 7 end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Ljava/util/concurrent/LinkedBlockingQueue<TE;>;
0 23 1 e TE;
0 23 2 timeout J
0 23 4 unit Ljava/util/concurrent/TimeUnit;
2 23 5 nanos J
13 16 7 c I
19 23 7 c I
3 23 8 putLock Ljava/util/concurrent/locks/ReentrantLock;
4 23 9 count Ljava/util/concurrent/atomic/AtomicInteger;
Exception table:
from to target type
5 7 16 any
9 16 16 any
Exceptions:
throws java.lang.InterruptedException
Signature: (TE;JLjava/util/concurrent/TimeUnit;)Z
MethodParameters:
Name Flags
e
timeout
unit
public boolean offer();
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 1
new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield java.util.concurrent.LinkedBlockingQueue.count:Ljava/util/concurrent/atomic/AtomicInteger;
astore 2
start local 2 2: aload 2
invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
aload 0
getfield java.util.concurrent.LinkedBlockingQueue.capacity:I
if_icmpne 4
3: iconst_0
ireturn
4: StackMap locals: java.util.concurrent.atomic.AtomicInteger
StackMap stack:
new java.util.concurrent.LinkedBlockingQueue$Node
dup
aload 1
invokespecial java.util.concurrent.LinkedBlockingQueue$Node.<init>:(Ljava/lang/Object;)V
astore 4
start local 4 5: aload 0
getfield java.util.concurrent.LinkedBlockingQueue.putLock:Ljava/util/concurrent/locks/ReentrantLock;
astore 5
start local 5 6: aload 5
invokevirtual java.util.concurrent.locks.ReentrantLock.lock:()V
7: aload 2
invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
aload 0
getfield java.util.concurrent.LinkedBlockingQueue.capacity:I
if_icmpne 10
8: aload 5
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
9: iconst_0
ireturn
10: StackMap locals: java.util.concurrent.LinkedBlockingQueue java.lang.Object java.util.concurrent.atomic.AtomicInteger top java.util.concurrent.LinkedBlockingQueue$Node java.util.concurrent.locks.ReentrantLock
StackMap stack:
aload 0
aload 4
invokevirtual java.util.concurrent.LinkedBlockingQueue.enqueue:(Ljava/util/concurrent/LinkedBlockingQueue$Node;)V
11: aload 2
invokevirtual java.util.concurrent.atomic.AtomicInteger.getAndIncrement:()I
istore 3
start local 3 12: iload 3
iconst_1
iadd
aload 0
getfield java.util.concurrent.LinkedBlockingQueue.capacity:I
if_icmpge 18
13: aload 0
getfield java.util.concurrent.LinkedBlockingQueue.notFull:Ljava/util/concurrent/locks/Condition;
invokeinterface java.util.concurrent.locks.Condition.signal:()V
14: goto 18
end local 3 StackMap locals:
StackMap stack: java.lang.Throwable
15: astore 6
16: aload 5
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
17: aload 6
athrow
start local 3 18: StackMap locals: java.util.concurrent.LinkedBlockingQueue java.lang.Object java.util.concurrent.atomic.AtomicInteger int java.util.concurrent.LinkedBlockingQueue$Node java.util.concurrent.locks.ReentrantLock
StackMap stack:
aload 5
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
19: iload 3
ifne 21
20: aload 0
invokevirtual java.util.concurrent.LinkedBlockingQueue.signalNotEmpty:()V
21: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Ljava/util/concurrent/LinkedBlockingQueue<TE;>;
0 22 1 e TE;
2 22 2 count Ljava/util/concurrent/atomic/AtomicInteger;
12 15 3 c I
18 22 3 c I
5 22 4 node Ljava/util/concurrent/LinkedBlockingQueue$Node<TE;>;
6 22 5 putLock Ljava/util/concurrent/locks/ReentrantLock;
Exception table:
from to target type
7 8 15 any
10 15 15 any
Signature: (TE;)Z
MethodParameters:
Name Flags
e
public E take();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=1
start local 0 0: aload 0
getfield java.util.concurrent.LinkedBlockingQueue.count:Ljava/util/concurrent/atomic/AtomicInteger;
astore 3
start local 3 1: aload 0
getfield java.util.concurrent.LinkedBlockingQueue.takeLock:Ljava/util/concurrent/locks/ReentrantLock;
astore 4
start local 4 2: aload 4
invokevirtual java.util.concurrent.locks.ReentrantLock.lockInterruptibly:()V
3: goto 5
4: StackMap locals: java.util.concurrent.LinkedBlockingQueue top top java.util.concurrent.atomic.AtomicInteger java.util.concurrent.locks.ReentrantLock
StackMap stack:
aload 0
getfield java.util.concurrent.LinkedBlockingQueue.notEmpty:Ljava/util/concurrent/locks/Condition;
invokeinterface java.util.concurrent.locks.Condition.await:()V
5: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
ifeq 4
6: aload 0
invokevirtual java.util.concurrent.LinkedBlockingQueue.dequeue:()Ljava/lang/Object;
astore 1
start local 1 7: aload 3
invokevirtual java.util.concurrent.atomic.AtomicInteger.getAndDecrement:()I
istore 2
start local 2 8: iload 2
iconst_1
if_icmple 14
9: aload 0
getfield java.util.concurrent.LinkedBlockingQueue.notEmpty:Ljava/util/concurrent/locks/Condition;
invokeinterface java.util.concurrent.locks.Condition.signal:()V
10: goto 14
end local 2 end local 1 StackMap locals:
StackMap stack: java.lang.Throwable
11: astore 5
12: aload 4
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
13: aload 5
athrow
start local 1 start local 2 14: StackMap locals: java.util.concurrent.LinkedBlockingQueue java.lang.Object int java.util.concurrent.atomic.AtomicInteger java.util.concurrent.locks.ReentrantLock
StackMap stack:
aload 4
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
15: iload 2
aload 0
getfield java.util.concurrent.LinkedBlockingQueue.capacity:I
if_icmpne 17
16: aload 0
invokevirtual java.util.concurrent.LinkedBlockingQueue.signalNotFull:()V
17: StackMap locals:
StackMap stack:
aload 1
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Ljava/util/concurrent/LinkedBlockingQueue<TE;>;
7 11 1 x TE;
14 18 1 x TE;
8 11 2 c I
14 18 2 c I
1 18 3 count Ljava/util/concurrent/atomic/AtomicInteger;
2 18 4 takeLock Ljava/util/concurrent/locks/ReentrantLock;
Exception table:
from to target type
3 11 11 any
Exceptions:
throws java.lang.InterruptedException
Signature: ()TE;
public E poll(long, java.util.concurrent.TimeUnit);
descriptor: (JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=11, args_size=3
start local 0 start local 1 start local 3 0: aload 3
lload 1
invokevirtual java.util.concurrent.TimeUnit.toNanos:(J)J
lstore 6
start local 6 1: aload 0
getfield java.util.concurrent.LinkedBlockingQueue.count:Ljava/util/concurrent/atomic/AtomicInteger;
astore 8
start local 8 2: aload 0
getfield java.util.concurrent.LinkedBlockingQueue.takeLock:Ljava/util/concurrent/locks/ReentrantLock;
astore 9
start local 9 3: aload 9
invokevirtual java.util.concurrent.locks.ReentrantLock.lockInterruptibly:()V
4: goto 9
5: StackMap locals: java.util.concurrent.LinkedBlockingQueue long java.util.concurrent.TimeUnit top top long java.util.concurrent.atomic.AtomicInteger java.util.concurrent.locks.ReentrantLock
StackMap stack:
lload 6
lconst_0
lcmp
ifgt 8
6: aload 9
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
7: aconst_null
areturn
8: StackMap locals:
StackMap stack:
aload 0
getfield java.util.concurrent.LinkedBlockingQueue.notEmpty:Ljava/util/concurrent/locks/Condition;
lload 6
invokeinterface java.util.concurrent.locks.Condition.awaitNanos:(J)J
lstore 6
9: StackMap locals:
StackMap stack:
aload 8
invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
ifeq 5
10: aload 0
invokevirtual java.util.concurrent.LinkedBlockingQueue.dequeue:()Ljava/lang/Object;
astore 4
start local 4 11: aload 8
invokevirtual java.util.concurrent.atomic.AtomicInteger.getAndDecrement:()I
istore 5
start local 5 12: iload 5
iconst_1
if_icmple 18
13: aload 0
getfield java.util.concurrent.LinkedBlockingQueue.notEmpty:Ljava/util/concurrent/locks/Condition;
invokeinterface java.util.concurrent.locks.Condition.signal:()V
14: goto 18
end local 5 end local 4 StackMap locals:
StackMap stack: java.lang.Throwable
15: astore 10
16: aload 9
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
17: aload 10
athrow
start local 4 start local 5 18: StackMap locals: java.util.concurrent.LinkedBlockingQueue long java.util.concurrent.TimeUnit java.lang.Object int long java.util.concurrent.atomic.AtomicInteger java.util.concurrent.locks.ReentrantLock
StackMap stack:
aload 9
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
19: iload 5
aload 0
getfield java.util.concurrent.LinkedBlockingQueue.capacity:I
if_icmpne 21
20: aload 0
invokevirtual java.util.concurrent.LinkedBlockingQueue.signalNotFull:()V
21: StackMap locals:
StackMap stack:
aload 4
areturn
end local 9 end local 8 end local 6 end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Ljava/util/concurrent/LinkedBlockingQueue<TE;>;
0 22 1 timeout J
0 22 3 unit Ljava/util/concurrent/TimeUnit;
11 15 4 x TE;
18 22 4 x TE;
12 15 5 c I
18 22 5 c I
1 22 6 nanos J
2 22 8 count Ljava/util/concurrent/atomic/AtomicInteger;
3 22 9 takeLock Ljava/util/concurrent/locks/ReentrantLock;
Exception table:
from to target type
4 6 15 any
8 15 15 any
Exceptions:
throws java.lang.InterruptedException
Signature: (JLjava/util/concurrent/TimeUnit;)TE;
MethodParameters:
Name Flags
timeout
unit
public E poll();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=1
start local 0 0: aload 0
getfield java.util.concurrent.LinkedBlockingQueue.count:Ljava/util/concurrent/atomic/AtomicInteger;
astore 1
start local 1 1: aload 1
invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
ifne 3
2: aconst_null
areturn
3: StackMap locals: java.util.concurrent.atomic.AtomicInteger
StackMap stack:
aload 0
getfield java.util.concurrent.LinkedBlockingQueue.takeLock:Ljava/util/concurrent/locks/ReentrantLock;
astore 4
start local 4 4: aload 4
invokevirtual java.util.concurrent.locks.ReentrantLock.lock:()V
5: aload 1
invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
ifne 8
6: aload 4
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
7: aconst_null
areturn
8: StackMap locals: java.util.concurrent.LinkedBlockingQueue java.util.concurrent.atomic.AtomicInteger top top java.util.concurrent.locks.ReentrantLock
StackMap stack:
aload 0
invokevirtual java.util.concurrent.LinkedBlockingQueue.dequeue:()Ljava/lang/Object;
astore 2
start local 2 9: aload 1
invokevirtual java.util.concurrent.atomic.AtomicInteger.getAndDecrement:()I
istore 3
start local 3 10: iload 3
iconst_1
if_icmple 16
11: aload 0
getfield java.util.concurrent.LinkedBlockingQueue.notEmpty:Ljava/util/concurrent/locks/Condition;
invokeinterface java.util.concurrent.locks.Condition.signal:()V
12: goto 16
end local 3 end local 2 StackMap locals:
StackMap stack: java.lang.Throwable
13: astore 5
14: aload 4
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
15: aload 5
athrow
start local 2 start local 3 16: StackMap locals: java.util.concurrent.LinkedBlockingQueue java.util.concurrent.atomic.AtomicInteger java.lang.Object int java.util.concurrent.locks.ReentrantLock
StackMap stack:
aload 4
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
17: iload 3
aload 0
getfield java.util.concurrent.LinkedBlockingQueue.capacity:I
if_icmpne 19
18: aload 0
invokevirtual java.util.concurrent.LinkedBlockingQueue.signalNotFull:()V
19: StackMap locals:
StackMap stack:
aload 2
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Ljava/util/concurrent/LinkedBlockingQueue<TE;>;
1 20 1 count Ljava/util/concurrent/atomic/AtomicInteger;
9 13 2 x TE;
16 20 2 x TE;
10 13 3 c I
16 20 3 c I
4 20 4 takeLock Ljava/util/concurrent/locks/ReentrantLock;
Exception table:
from to target type
5 6 13 any
8 13 13 any
Signature: ()TE;
public E peek();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=5, args_size=1
start local 0 0: aload 0
getfield java.util.concurrent.LinkedBlockingQueue.count:Ljava/util/concurrent/atomic/AtomicInteger;
astore 1
start local 1 1: aload 1
invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
ifne 3
2: aconst_null
areturn
3: StackMap locals: java.util.concurrent.atomic.AtomicInteger
StackMap stack:
aload 0
getfield java.util.concurrent.LinkedBlockingQueue.takeLock:Ljava/util/concurrent/locks/ReentrantLock;
astore 2
start local 2 4: aload 2
invokevirtual java.util.concurrent.locks.ReentrantLock.lock:()V
5: aload 1
invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
ifle 6
aload 0
getfield java.util.concurrent.LinkedBlockingQueue.head:Ljava/util/concurrent/LinkedBlockingQueue$Node;
getfield java.util.concurrent.LinkedBlockingQueue$Node.next:Ljava/util/concurrent/LinkedBlockingQueue$Node;
getfield java.util.concurrent.LinkedBlockingQueue$Node.item:Ljava/lang/Object;
goto 7
StackMap locals: java.util.concurrent.locks.ReentrantLock
StackMap stack:
6: aconst_null
StackMap locals:
StackMap stack: java.lang.Object
7: astore 4
8: aload 2
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
9: aload 4
areturn
10: StackMap locals:
StackMap stack: java.lang.Throwable
astore 3
11: aload 2
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
12: aload 3
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljava/util/concurrent/LinkedBlockingQueue<TE;>;
1 13 1 count Ljava/util/concurrent/atomic/AtomicInteger;
4 13 2 takeLock Ljava/util/concurrent/locks/ReentrantLock;
Exception table:
from to target type
5 8 10 any
Signature: ()TE;
void unlink(java.util.concurrent.LinkedBlockingQueue$Node<E>, java.util.concurrent.LinkedBlockingQueue$Node<E>);
descriptor: (Ljava/util/concurrent/LinkedBlockingQueue$Node;Ljava/util/concurrent/LinkedBlockingQueue$Node;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aconst_null
putfield java.util.concurrent.LinkedBlockingQueue$Node.item:Ljava/lang/Object;
1: aload 2
aload 1
getfield java.util.concurrent.LinkedBlockingQueue$Node.next:Ljava/util/concurrent/LinkedBlockingQueue$Node;
putfield java.util.concurrent.LinkedBlockingQueue$Node.next:Ljava/util/concurrent/LinkedBlockingQueue$Node;
2: aload 0
getfield java.util.concurrent.LinkedBlockingQueue.last:Ljava/util/concurrent/LinkedBlockingQueue$Node;
aload 1
if_acmpne 4
3: aload 0
aload 2
putfield java.util.concurrent.LinkedBlockingQueue.last:Ljava/util/concurrent/LinkedBlockingQueue$Node;
4: StackMap locals:
StackMap stack:
aload 0
getfield java.util.concurrent.LinkedBlockingQueue.count:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.getAndDecrement:()I
aload 0
getfield java.util.concurrent.LinkedBlockingQueue.capacity:I
if_icmpne 6
5: aload 0
getfield java.util.concurrent.LinkedBlockingQueue.notFull:Ljava/util/concurrent/locks/Condition;
invokeinterface java.util.concurrent.locks.Condition.signal:()V
6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljava/util/concurrent/LinkedBlockingQueue<TE;>;
0 7 1 p Ljava/util/concurrent/LinkedBlockingQueue$Node<TE;>;
0 7 2 pred Ljava/util/concurrent/LinkedBlockingQueue$Node<TE;>;
Signature: (Ljava/util/concurrent/LinkedBlockingQueue$Node<TE;>;Ljava/util/concurrent/LinkedBlockingQueue$Node<TE;>;)V
MethodParameters:
Name Flags
p
pred
public boolean remove(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 1
iconst_0
ireturn
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.util.concurrent.LinkedBlockingQueue.fullyLock:()V
2: aload 0
getfield java.util.concurrent.LinkedBlockingQueue.head:Ljava/util/concurrent/LinkedBlockingQueue$Node;
astore 2
start local 2 3: aload 2
getfield java.util.concurrent.LinkedBlockingQueue$Node.next:Ljava/util/concurrent/LinkedBlockingQueue$Node;
astore 3
start local 3 4: goto 10
5: StackMap locals: java.util.concurrent.LinkedBlockingQueue$Node java.util.concurrent.LinkedBlockingQueue$Node
StackMap stack:
aload 1
aload 3
getfield java.util.concurrent.LinkedBlockingQueue$Node.item:Ljava/lang/Object;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 9
6: aload 0
aload 3
aload 2
invokevirtual java.util.concurrent.LinkedBlockingQueue.unlink:(Ljava/util/concurrent/LinkedBlockingQueue$Node;Ljava/util/concurrent/LinkedBlockingQueue$Node;)V
7: aload 0
invokevirtual java.util.concurrent.LinkedBlockingQueue.fullyUnlock:()V
8: iconst_1
ireturn
9: StackMap locals:
StackMap stack:
aload 3
astore 2
aload 3
getfield java.util.concurrent.LinkedBlockingQueue$Node.next:Ljava/util/concurrent/LinkedBlockingQueue$Node;
astore 3
10: StackMap locals:
StackMap stack:
aload 3
ifnonnull 5
end local 3 end local 2 11: aload 0
invokevirtual java.util.concurrent.LinkedBlockingQueue.fullyUnlock:()V
12: iconst_0
ireturn
13: StackMap locals: java.util.concurrent.LinkedBlockingQueue java.lang.Object
StackMap stack: java.lang.Throwable
astore 4
14: aload 0
invokevirtual java.util.concurrent.LinkedBlockingQueue.fullyUnlock:()V
15: aload 4
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljava/util/concurrent/LinkedBlockingQueue<TE;>;
0 16 1 o Ljava/lang/Object;
3 11 2 pred Ljava/util/concurrent/LinkedBlockingQueue$Node<TE;>;
4 11 3 p Ljava/util/concurrent/LinkedBlockingQueue$Node<TE;>;
Exception table:
from to target type
2 7 13 any
9 11 13 any
MethodParameters:
Name Flags
o
public boolean contains(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 1
iconst_0
ireturn
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.util.concurrent.LinkedBlockingQueue.fullyLock:()V
2: aload 0
getfield java.util.concurrent.LinkedBlockingQueue.head:Ljava/util/concurrent/LinkedBlockingQueue$Node;
getfield java.util.concurrent.LinkedBlockingQueue$Node.next:Ljava/util/concurrent/LinkedBlockingQueue$Node;
astore 2
start local 2 3: goto 8
4: StackMap locals: java.util.concurrent.LinkedBlockingQueue$Node
StackMap stack:
aload 1
aload 2
getfield java.util.concurrent.LinkedBlockingQueue$Node.item:Ljava/lang/Object;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 7
5: aload 0
invokevirtual java.util.concurrent.LinkedBlockingQueue.fullyUnlock:()V
6: iconst_1
ireturn
7: StackMap locals:
StackMap stack:
aload 2
getfield java.util.concurrent.LinkedBlockingQueue$Node.next:Ljava/util/concurrent/LinkedBlockingQueue$Node;
astore 2
StackMap locals:
StackMap stack:
8: aload 2
ifnonnull 4
end local 2 9: aload 0
invokevirtual java.util.concurrent.LinkedBlockingQueue.fullyUnlock:()V
10: iconst_0
ireturn
11: StackMap locals: java.util.concurrent.LinkedBlockingQueue java.lang.Object
StackMap stack: java.lang.Throwable
astore 3
12: aload 0
invokevirtual java.util.concurrent.LinkedBlockingQueue.fullyUnlock:()V
13: aload 3
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljava/util/concurrent/LinkedBlockingQueue<TE;>;
0 14 1 o Ljava/lang/Object;
3 9 2 p Ljava/util/concurrent/LinkedBlockingQueue$Node<TE;>;
Exception table:
from to target type
2 5 11 any
7 9 11 any
MethodParameters:
Name Flags
o
public java.lang.Object[] toArray();
descriptor: ()[Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=1
start local 0 0: aload 0
invokevirtual java.util.concurrent.LinkedBlockingQueue.fullyLock:()V
1: aload 0
getfield java.util.concurrent.LinkedBlockingQueue.count:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
istore 1
start local 1 2: iload 1
anewarray java.lang.Object
astore 2
start local 2 3: iconst_0
istore 3
start local 3 4: aload 0
getfield java.util.concurrent.LinkedBlockingQueue.head:Ljava/util/concurrent/LinkedBlockingQueue$Node;
getfield java.util.concurrent.LinkedBlockingQueue$Node.next:Ljava/util/concurrent/LinkedBlockingQueue$Node;
astore 4
start local 4 5: goto 8
6: StackMap locals: java.util.concurrent.LinkedBlockingQueue int java.lang.Object[] int java.util.concurrent.LinkedBlockingQueue$Node
StackMap stack:
aload 2
iload 3
iinc 3 1
aload 4
getfield java.util.concurrent.LinkedBlockingQueue$Node.item:Ljava/lang/Object;
aastore
7: aload 4
getfield java.util.concurrent.LinkedBlockingQueue$Node.next:Ljava/util/concurrent/LinkedBlockingQueue$Node;
astore 4
StackMap locals:
StackMap stack:
8: aload 4
ifnonnull 6
end local 4 9: aload 2
astore 6
10: aload 0
invokevirtual java.util.concurrent.LinkedBlockingQueue.fullyUnlock:()V
11: aload 6
areturn
end local 3 end local 2 end local 1 12: StackMap locals: java.util.concurrent.LinkedBlockingQueue
StackMap stack: java.lang.Throwable
astore 5
13: aload 0
invokevirtual java.util.concurrent.LinkedBlockingQueue.fullyUnlock:()V
14: aload 5
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljava/util/concurrent/LinkedBlockingQueue<TE;>;
2 12 1 size I
3 12 2 a [Ljava/lang/Object;
4 12 3 k I
5 9 4 p Ljava/util/concurrent/LinkedBlockingQueue$Node<TE;>;
Exception table:
from to target type
1 10 12 any
public <T> T[] toArray();
descriptor: ([Ljava/lang/Object;)[Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.util.concurrent.LinkedBlockingQueue.fullyLock:()V
1: aload 0
getfield java.util.concurrent.LinkedBlockingQueue.count:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
istore 2
start local 2 2: aload 1
arraylength
iload 2
if_icmpge 5
3: aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getComponentType:()Ljava/lang/Class;
iload 2
4: invokestatic java.lang.reflect.Array.newInstance:(Ljava/lang/Class;I)Ljava/lang/Object;
checkcast java.lang.Object[]
astore 1
5: StackMap locals: int
StackMap stack:
iconst_0
istore 3
start local 3 6: aload 0
getfield java.util.concurrent.LinkedBlockingQueue.head:Ljava/util/concurrent/LinkedBlockingQueue$Node;
getfield java.util.concurrent.LinkedBlockingQueue$Node.next:Ljava/util/concurrent/LinkedBlockingQueue$Node;
astore 4
start local 4 7: goto 10
8: StackMap locals: int java.util.concurrent.LinkedBlockingQueue$Node
StackMap stack:
aload 1
iload 3
iinc 3 1
aload 4
getfield java.util.concurrent.LinkedBlockingQueue$Node.item:Ljava/lang/Object;
aastore
9: aload 4
getfield java.util.concurrent.LinkedBlockingQueue$Node.next:Ljava/util/concurrent/LinkedBlockingQueue$Node;
astore 4
StackMap locals:
StackMap stack:
10: aload 4
ifnonnull 8
end local 4 11: aload 1
arraylength
iload 3
if_icmple 13
12: aload 1
iload 3
aconst_null
aastore
13: StackMap locals:
StackMap stack:
aload 1
astore 6
14: aload 0
invokevirtual java.util.concurrent.LinkedBlockingQueue.fullyUnlock:()V
15: aload 6
areturn
end local 3 end local 2 16: StackMap locals: java.util.concurrent.LinkedBlockingQueue java.lang.Object[]
StackMap stack: java.lang.Throwable
astore 5
17: aload 0
invokevirtual java.util.concurrent.LinkedBlockingQueue.fullyUnlock:()V
18: aload 5
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Ljava/util/concurrent/LinkedBlockingQueue<TE;>;
0 19 1 a [Ljava/lang/Object;
2 16 2 size I
6 16 3 k I
7 11 4 p Ljava/util/concurrent/LinkedBlockingQueue$Node<TE;>;
Exception table:
from to target type
1 14 16 any
Signature: <T:Ljava/lang/Object;>([TT;)[TT;
MethodParameters:
Name Flags
a
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.util.concurrent.Helpers.collectionToString:(Ljava/util/Collection;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/concurrent/LinkedBlockingQueue<TE;>;
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual java.util.concurrent.LinkedBlockingQueue.fullyLock:()V
1: aload 0
getfield java.util.concurrent.LinkedBlockingQueue.head:Ljava/util/concurrent/LinkedBlockingQueue$Node;
astore 2
start local 2 2: goto 6
start local 1 3: StackMap locals: java.util.concurrent.LinkedBlockingQueue$Node java.util.concurrent.LinkedBlockingQueue$Node
StackMap stack:
aload 2
aload 2
putfield java.util.concurrent.LinkedBlockingQueue$Node.next:Ljava/util/concurrent/LinkedBlockingQueue$Node;
4: aload 1
aconst_null
putfield java.util.concurrent.LinkedBlockingQueue$Node.item:Ljava/lang/Object;
5: aload 1
astore 2
end local 1 StackMap locals: java.util.concurrent.LinkedBlockingQueue top java.util.concurrent.LinkedBlockingQueue$Node
StackMap stack:
6: aload 2
getfield java.util.concurrent.LinkedBlockingQueue$Node.next:Ljava/util/concurrent/LinkedBlockingQueue$Node;
dup
astore 1
start local 1 7: ifnonnull 3
end local 2 end local 1 8: aload 0
aload 0
getfield java.util.concurrent.LinkedBlockingQueue.last:Ljava/util/concurrent/LinkedBlockingQueue$Node;
putfield java.util.concurrent.LinkedBlockingQueue.head:Ljava/util/concurrent/LinkedBlockingQueue$Node;
9: aload 0
getfield java.util.concurrent.LinkedBlockingQueue.count:Ljava/util/concurrent/atomic/AtomicInteger;
iconst_0
invokevirtual java.util.concurrent.atomic.AtomicInteger.getAndSet:(I)I
aload 0
getfield java.util.concurrent.LinkedBlockingQueue.capacity:I
if_icmpne 15
10: aload 0
getfield java.util.concurrent.LinkedBlockingQueue.notFull:Ljava/util/concurrent/locks/Condition;
invokeinterface java.util.concurrent.locks.Condition.signal:()V
11: goto 15
StackMap locals: java.util.concurrent.LinkedBlockingQueue
StackMap stack: java.lang.Throwable
12: astore 3
13: aload 0
invokevirtual java.util.concurrent.LinkedBlockingQueue.fullyUnlock:()V
14: aload 3
athrow
15: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.util.concurrent.LinkedBlockingQueue.fullyUnlock:()V
16: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Ljava/util/concurrent/LinkedBlockingQueue<TE;>;
3 6 1 p Ljava/util/concurrent/LinkedBlockingQueue$Node<TE;>;
7 8 1 p Ljava/util/concurrent/LinkedBlockingQueue$Node<TE;>;
2 8 2 h Ljava/util/concurrent/LinkedBlockingQueue$Node<TE;>;
Exception table:
from to target type
1 12 12 any
public int drainTo(java.util.Collection<? super E>);
descriptor: (Ljava/util/Collection;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc 2147483647
invokevirtual java.util.concurrent.LinkedBlockingQueue.drainTo:(Ljava/util/Collection;I)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/concurrent/LinkedBlockingQueue<TE;>;
0 1 1 c Ljava/util/Collection<-TE;>;
Signature: (Ljava/util/Collection<-TE;>;)I
MethodParameters:
Name Flags
c
public int drainTo(java.util.Collection<? super E>, );
descriptor: (Ljava/util/Collection;I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=12, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
aload 0
if_acmpne 3
2: new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
iload 2
ifgt 5
4: iconst_0
ireturn
5: StackMap locals:
StackMap stack:
iconst_0
istore 3
start local 3 6: aload 0
getfield java.util.concurrent.LinkedBlockingQueue.takeLock:Ljava/util/concurrent/locks/ReentrantLock;
astore 4
start local 4 7: aload 4
invokevirtual java.util.concurrent.locks.ReentrantLock.lock:()V
8: iload 2
aload 0
getfield java.util.concurrent.LinkedBlockingQueue.count:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
invokestatic java.lang.Math.min:(II)I
istore 5
start local 5 9: aload 0
getfield java.util.concurrent.LinkedBlockingQueue.head:Ljava/util/concurrent/LinkedBlockingQueue$Node;
astore 6
start local 6 10: iconst_0
istore 7
start local 7 11: goto 18
12: StackMap locals: java.util.concurrent.LinkedBlockingQueue java.util.Collection int int java.util.concurrent.locks.ReentrantLock int java.util.concurrent.LinkedBlockingQueue$Node int
StackMap stack:
aload 6
getfield java.util.concurrent.LinkedBlockingQueue$Node.next:Ljava/util/concurrent/LinkedBlockingQueue$Node;
astore 8
start local 8 13: aload 1
aload 8
getfield java.util.concurrent.LinkedBlockingQueue$Node.item:Ljava/lang/Object;
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
14: aload 8
aconst_null
putfield java.util.concurrent.LinkedBlockingQueue$Node.item:Ljava/lang/Object;
15: aload 6
aload 6
putfield java.util.concurrent.LinkedBlockingQueue$Node.next:Ljava/util/concurrent/LinkedBlockingQueue$Node;
16: aload 8
astore 6
17: iinc 7 1
end local 8 18: StackMap locals:
StackMap stack:
iload 7
iload 5
if_icmplt 12
19: iload 5
istore 10
20: iload 7
ifle 25
21: aload 0
aload 6
putfield java.util.concurrent.LinkedBlockingQueue.head:Ljava/util/concurrent/LinkedBlockingQueue$Node;
22: aload 0
getfield java.util.concurrent.LinkedBlockingQueue.count:Ljava/util/concurrent/atomic/AtomicInteger;
iload 7
ineg
invokevirtual java.util.concurrent.atomic.AtomicInteger.getAndAdd:(I)I
aload 0
getfield java.util.concurrent.LinkedBlockingQueue.capacity:I
if_icmpne 23
iconst_1
goto 24
StackMap locals: java.util.concurrent.LinkedBlockingQueue java.util.Collection int int java.util.concurrent.locks.ReentrantLock int java.util.concurrent.LinkedBlockingQueue$Node int top top int
StackMap stack:
23: iconst_0
StackMap locals:
StackMap stack: int
24: istore 3
25: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
26: iload 3
ifeq 28
27: aload 0
invokevirtual java.util.concurrent.LinkedBlockingQueue.signalNotFull:()V
28: StackMap locals:
StackMap stack:
iload 10
ireturn
29: StackMap locals: java.util.concurrent.LinkedBlockingQueue java.util.Collection int int java.util.concurrent.locks.ReentrantLock int java.util.concurrent.LinkedBlockingQueue$Node int
StackMap stack: java.lang.Throwable
astore 9
30: iload 7
ifle 35
31: aload 0
aload 6
putfield java.util.concurrent.LinkedBlockingQueue.head:Ljava/util/concurrent/LinkedBlockingQueue$Node;
32: aload 0
getfield java.util.concurrent.LinkedBlockingQueue.count:Ljava/util/concurrent/atomic/AtomicInteger;
iload 7
ineg
invokevirtual java.util.concurrent.atomic.AtomicInteger.getAndAdd:(I)I
aload 0
getfield java.util.concurrent.LinkedBlockingQueue.capacity:I
if_icmpne 33
iconst_1
goto 34
StackMap locals: java.util.concurrent.LinkedBlockingQueue java.util.Collection int int java.util.concurrent.locks.ReentrantLock int java.util.concurrent.LinkedBlockingQueue$Node int top java.lang.Throwable
StackMap stack:
33: iconst_0
StackMap locals:
StackMap stack: int
34: istore 3
35: StackMap locals:
StackMap stack:
aload 9
athrow
end local 7 end local 6 end local 5 36: StackMap locals: java.util.concurrent.LinkedBlockingQueue java.util.Collection int int java.util.concurrent.locks.ReentrantLock
StackMap stack: java.lang.Throwable
astore 11
37: aload 4
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
38: iload 3
ifeq 40
39: aload 0
invokevirtual java.util.concurrent.LinkedBlockingQueue.signalNotFull:()V
40: StackMap locals: java.util.concurrent.LinkedBlockingQueue java.util.Collection int int java.util.concurrent.locks.ReentrantLock top top top top top top java.lang.Throwable
StackMap stack:
aload 11
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 41 0 this Ljava/util/concurrent/LinkedBlockingQueue<TE;>;
0 41 1 c Ljava/util/Collection<-TE;>;
0 41 2 maxElements I
6 41 3 signalNotFull Z
7 41 4 takeLock Ljava/util/concurrent/locks/ReentrantLock;
9 36 5 n I
10 36 6 h Ljava/util/concurrent/LinkedBlockingQueue$Node<TE;>;
11 36 7 i I
13 18 8 p Ljava/util/concurrent/LinkedBlockingQueue$Node<TE;>;
Exception table:
from to target type
11 20 29 any
8 25 36 any
29 36 36 any
Signature: (Ljava/util/Collection<-TE;>;I)I
MethodParameters:
Name Flags
c
maxElements
java.util.concurrent.LinkedBlockingQueue$Node<E> succ(java.util.concurrent.LinkedBlockingQueue$Node<E>);
descriptor: (Ljava/util/concurrent/LinkedBlockingQueue$Node;)Ljava/util/concurrent/LinkedBlockingQueue$Node;
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 1
getfield java.util.concurrent.LinkedBlockingQueue$Node.next:Ljava/util/concurrent/LinkedBlockingQueue$Node;
dup
astore 1
if_acmpne 2
1: aload 0
getfield java.util.concurrent.LinkedBlockingQueue.head:Ljava/util/concurrent/LinkedBlockingQueue$Node;
getfield java.util.concurrent.LinkedBlockingQueue$Node.next:Ljava/util/concurrent/LinkedBlockingQueue$Node;
astore 1
2: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/util/concurrent/LinkedBlockingQueue<TE;>;
0 3 1 p Ljava/util/concurrent/LinkedBlockingQueue$Node<TE;>;
Signature: (Ljava/util/concurrent/LinkedBlockingQueue$Node<TE;>;)Ljava/util/concurrent/LinkedBlockingQueue$Node<TE;>;
MethodParameters:
Name Flags
p
public java.util.Iterator<E> iterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.util.concurrent.LinkedBlockingQueue$Itr
dup
aload 0
invokespecial java.util.concurrent.LinkedBlockingQueue$Itr.<init>:(Ljava/util/concurrent/LinkedBlockingQueue;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/concurrent/LinkedBlockingQueue<TE;>;
Signature: ()Ljava/util/Iterator<TE;>;
public java.util.Spliterator<E> spliterator();
descriptor: ()Ljava/util/Spliterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.util.concurrent.LinkedBlockingQueue$LBQSpliterator
dup
aload 0
invokespecial java.util.concurrent.LinkedBlockingQueue$LBQSpliterator.<init>:(Ljava/util/concurrent/LinkedBlockingQueue;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/concurrent/LinkedBlockingQueue<TE;>;
Signature: ()Ljava/util/Spliterator<TE;>;
public void forEach(java.util.function.Consumer<? super E>);
descriptor: (Ljava/util/function/Consumer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
aload 1
aconst_null
invokevirtual java.util.concurrent.LinkedBlockingQueue.forEachFrom:(Ljava/util/function/Consumer;Ljava/util/concurrent/LinkedBlockingQueue$Node;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/util/concurrent/LinkedBlockingQueue<TE;>;
0 3 1 action Ljava/util/function/Consumer<-TE;>;
Signature: (Ljava/util/function/Consumer<-TE;>;)V
MethodParameters:
Name Flags
action
void forEachFrom(java.util.function.Consumer<? super E>, java.util.concurrent.LinkedBlockingQueue$Node<E>);
descriptor: (Ljava/util/function/Consumer;Ljava/util/concurrent/LinkedBlockingQueue$Node;)V
flags: (0x0000)
Code:
stack=4, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: iconst_0
istore 5
start local 5 2: StackMap locals: java.util.concurrent.LinkedBlockingQueue java.util.function.Consumer java.util.concurrent.LinkedBlockingQueue$Node java.lang.Object[] top int
StackMap stack:
aload 0
invokevirtual java.util.concurrent.LinkedBlockingQueue.fullyLock:()V
3: aload 3
ifnonnull 12
4: aload 2
ifnonnull 5
aload 0
getfield java.util.concurrent.LinkedBlockingQueue.head:Ljava/util/concurrent/LinkedBlockingQueue$Node;
getfield java.util.concurrent.LinkedBlockingQueue$Node.next:Ljava/util/concurrent/LinkedBlockingQueue$Node;
astore 2
5: StackMap locals:
StackMap stack:
aload 2
astore 6
start local 6 6: goto 10
7: StackMap locals: java.util.concurrent.LinkedBlockingQueue$Node
StackMap stack:
aload 6
getfield java.util.concurrent.LinkedBlockingQueue$Node.item:Ljava/lang/Object;
ifnull 9
iinc 5 1
iload 5
bipush 64
if_icmpne 9
8: goto 11
9: StackMap locals:
StackMap stack:
aload 0
aload 6
invokevirtual java.util.concurrent.LinkedBlockingQueue.succ:(Ljava/util/concurrent/LinkedBlockingQueue$Node;)Ljava/util/concurrent/LinkedBlockingQueue$Node;
astore 6
StackMap locals:
StackMap stack:
10: aload 6
ifnonnull 7
end local 6 11: StackMap locals:
StackMap stack:
iload 5
anewarray java.lang.Object
astore 3
12: StackMap locals:
StackMap stack:
iconst_0
istore 4
start local 4 13: goto 17
14: StackMap locals: java.util.concurrent.LinkedBlockingQueue java.util.function.Consumer java.util.concurrent.LinkedBlockingQueue$Node java.lang.Object[] int int
StackMap stack:
aload 3
iload 4
aload 2
getfield java.util.concurrent.LinkedBlockingQueue$Node.item:Ljava/lang/Object;
dup_x2
aastore
ifnull 16
15: iinc 4 1
16: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual java.util.concurrent.LinkedBlockingQueue.succ:(Ljava/util/concurrent/LinkedBlockingQueue$Node;)Ljava/util/concurrent/LinkedBlockingQueue$Node;
astore 2
StackMap locals:
StackMap stack:
17: aload 2
ifnull 22
iload 4
iload 5
if_icmplt 14
18: goto 22
end local 4 StackMap locals: java.util.concurrent.LinkedBlockingQueue java.util.function.Consumer java.util.concurrent.LinkedBlockingQueue$Node java.lang.Object[] top int
StackMap stack: java.lang.Throwable
19: astore 7
20: aload 0
invokevirtual java.util.concurrent.LinkedBlockingQueue.fullyUnlock:()V
21: aload 7
athrow
start local 4 22: StackMap locals: java.util.concurrent.LinkedBlockingQueue java.util.function.Consumer java.util.concurrent.LinkedBlockingQueue$Node java.lang.Object[] int int
StackMap stack:
aload 0
invokevirtual java.util.concurrent.LinkedBlockingQueue.fullyUnlock:()V
23: iconst_0
istore 6
start local 6 24: goto 28
25: StackMap locals: int
StackMap stack:
aload 3
iload 6
aaload
astore 7
start local 7 26: aload 1
aload 7
invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
end local 7 27: iinc 6 1
StackMap locals:
StackMap stack:
28: iload 6
iload 4
if_icmplt 25
end local 6 29: iload 4
ifle 30
aload 2
ifnonnull 2
30: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Ljava/util/concurrent/LinkedBlockingQueue<TE;>;
0 31 1 action Ljava/util/function/Consumer<-TE;>;
0 31 2 p Ljava/util/concurrent/LinkedBlockingQueue$Node<TE;>;
1 31 3 es [Ljava/lang/Object;
13 19 4 n I
22 31 4 n I
2 31 5 len I
6 11 6 q Ljava/util/concurrent/LinkedBlockingQueue$Node<TE;>;
24 29 6 i I
26 27 7 e TE;
Exception table:
from to target type
3 19 19 any
Signature: (Ljava/util/function/Consumer<-TE;>;Ljava/util/concurrent/LinkedBlockingQueue$Node<TE;>;)V
MethodParameters:
Name Flags
action
p
public boolean removeIf(java.util.function.Predicate<? super E>);
descriptor: (Ljava/util/function/Predicate;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
aload 1
invokevirtual java.util.concurrent.LinkedBlockingQueue.bulkRemove:(Ljava/util/function/Predicate;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/concurrent/LinkedBlockingQueue<TE;>;
0 2 1 filter Ljava/util/function/Predicate<-TE;>;
Signature: (Ljava/util/function/Predicate<-TE;>;)Z
MethodParameters:
Name Flags
filter
public boolean removeAll(java.util.Collection<?>);
descriptor: (Ljava/util/Collection;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
aload 1
invokedynamic test(Ljava/util/Collection;)Ljava/util/function/Predicate;
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;)Z
java/util/concurrent/LinkedBlockingQueue.lambda$0(Ljava/util/Collection;Ljava/lang/Object;)Z (6)
(Ljava/lang/Object;)Z
invokevirtual java.util.concurrent.LinkedBlockingQueue.bulkRemove:(Ljava/util/function/Predicate;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/concurrent/LinkedBlockingQueue<TE;>;
0 2 1 c Ljava/util/Collection<*>;
Signature: (Ljava/util/Collection<*>;)Z
MethodParameters:
Name Flags
c
public boolean retainAll(java.util.Collection<?>);
descriptor: (Ljava/util/Collection;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
aload 1
invokedynamic test(Ljava/util/Collection;)Ljava/util/function/Predicate;
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;)Z
java/util/concurrent/LinkedBlockingQueue.lambda$1(Ljava/util/Collection;Ljava/lang/Object;)Z (6)
(Ljava/lang/Object;)Z
invokevirtual java.util.concurrent.LinkedBlockingQueue.bulkRemove:(Ljava/util/function/Predicate;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/concurrent/LinkedBlockingQueue<TE;>;
0 2 1 c Ljava/util/Collection<*>;
Signature: (Ljava/util/Collection<*>;)Z
MethodParameters:
Name Flags
c
java.util.concurrent.LinkedBlockingQueue$Node<E> findPred(java.util.concurrent.LinkedBlockingQueue$Node<E>, java.util.concurrent.LinkedBlockingQueue$Node<E>);
descriptor: (Ljava/util/concurrent/LinkedBlockingQueue$Node;Ljava/util/concurrent/LinkedBlockingQueue$Node;)Ljava/util/concurrent/LinkedBlockingQueue$Node;
flags: (0x0000)
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
getfield java.util.concurrent.LinkedBlockingQueue$Node.item:Ljava/lang/Object;
ifnonnull 4
1: aload 0
getfield java.util.concurrent.LinkedBlockingQueue.head:Ljava/util/concurrent/LinkedBlockingQueue$Node;
astore 2
2: goto 4
start local 3 3: StackMap locals: java.util.concurrent.LinkedBlockingQueue$Node
StackMap stack:
aload 3
astore 2
end local 3 4: StackMap locals:
StackMap stack:
aload 2
getfield java.util.concurrent.LinkedBlockingQueue$Node.next:Ljava/util/concurrent/LinkedBlockingQueue$Node;
dup
astore 3
start local 3 5: aload 1
if_acmpne 3
end local 3 6: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljava/util/concurrent/LinkedBlockingQueue<TE;>;
0 7 1 p Ljava/util/concurrent/LinkedBlockingQueue$Node<TE;>;
0 7 2 ancestor Ljava/util/concurrent/LinkedBlockingQueue$Node<TE;>;
3 4 3 q Ljava/util/concurrent/LinkedBlockingQueue$Node<TE;>;
5 6 3 q Ljava/util/concurrent/LinkedBlockingQueue$Node<TE;>;
Signature: (Ljava/util/concurrent/LinkedBlockingQueue$Node<TE;>;Ljava/util/concurrent/LinkedBlockingQueue$Node<TE;>;)Ljava/util/concurrent/LinkedBlockingQueue$Node<TE;>;
MethodParameters:
Name Flags
p
ancestor
private boolean bulkRemove(java.util.function.Predicate<? super E>);
descriptor: (Ljava/util/function/Predicate;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=13, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aconst_null
astore 3
start local 3 2: aload 0
getfield java.util.concurrent.LinkedBlockingQueue.head:Ljava/util/concurrent/LinkedBlockingQueue$Node;
astore 4
start local 4 3: aconst_null
astore 5
start local 5 4: iconst_0
istore 7
start local 7 5: StackMap locals: java.util.concurrent.LinkedBlockingQueue java.util.function.Predicate int java.util.concurrent.LinkedBlockingQueue$Node java.util.concurrent.LinkedBlockingQueue$Node java.util.concurrent.LinkedBlockingQueue$Node[] top int
StackMap stack:
aload 0
invokevirtual java.util.concurrent.LinkedBlockingQueue.fullyLock:()V
6: aload 5
ifnonnull 15
7: aload 0
getfield java.util.concurrent.LinkedBlockingQueue.head:Ljava/util/concurrent/LinkedBlockingQueue$Node;
getfield java.util.concurrent.LinkedBlockingQueue$Node.next:Ljava/util/concurrent/LinkedBlockingQueue$Node;
astore 3
8: aload 3
astore 8
start local 8 9: goto 13
10: StackMap locals: java.util.concurrent.LinkedBlockingQueue$Node
StackMap stack:
aload 8
getfield java.util.concurrent.LinkedBlockingQueue$Node.item:Ljava/lang/Object;
ifnull 12
iinc 7 1
iload 7
bipush 64
if_icmpne 12
11: goto 14
12: StackMap locals:
StackMap stack:
aload 0
aload 8
invokevirtual java.util.concurrent.LinkedBlockingQueue.succ:(Ljava/util/concurrent/LinkedBlockingQueue$Node;)Ljava/util/concurrent/LinkedBlockingQueue$Node;
astore 8
StackMap locals:
StackMap stack:
13: aload 8
ifnonnull 10
end local 8 14: StackMap locals:
StackMap stack:
iload 7
anewarray java.util.concurrent.LinkedBlockingQueue$Node
astore 5
15: StackMap locals:
StackMap stack:
iconst_0
istore 6
start local 6 16: goto 19
17: StackMap locals: java.util.concurrent.LinkedBlockingQueue java.util.function.Predicate int java.util.concurrent.LinkedBlockingQueue$Node java.util.concurrent.LinkedBlockingQueue$Node java.util.concurrent.LinkedBlockingQueue$Node[] int int
StackMap stack:
aload 5
iload 6
iinc 6 1
aload 3
aastore
18: aload 0
aload 3
invokevirtual java.util.concurrent.LinkedBlockingQueue.succ:(Ljava/util/concurrent/LinkedBlockingQueue$Node;)Ljava/util/concurrent/LinkedBlockingQueue$Node;
astore 3
StackMap locals:
StackMap stack:
19: aload 3
ifnull 24
iload 6
iload 7
if_icmplt 17
20: goto 24
end local 6 StackMap locals: java.util.concurrent.LinkedBlockingQueue java.util.function.Predicate int java.util.concurrent.LinkedBlockingQueue$Node java.util.concurrent.LinkedBlockingQueue$Node java.util.concurrent.LinkedBlockingQueue$Node[] top int
StackMap stack: java.lang.Throwable
21: astore 9
22: aload 0
invokevirtual java.util.concurrent.LinkedBlockingQueue.fullyUnlock:()V
23: aload 9
athrow
start local 6 24: StackMap locals: java.util.concurrent.LinkedBlockingQueue java.util.function.Predicate int java.util.concurrent.LinkedBlockingQueue$Node java.util.concurrent.LinkedBlockingQueue$Node java.util.concurrent.LinkedBlockingQueue$Node[] int int
StackMap stack:
aload 0
invokevirtual java.util.concurrent.LinkedBlockingQueue.fullyUnlock:()V
25: lconst_0
lstore 8
start local 8 26: iconst_0
istore 10
start local 10 27: goto 32
28: StackMap locals: long int
StackMap stack:
aload 5
iload 10
aaload
getfield java.util.concurrent.LinkedBlockingQueue$Node.item:Ljava/lang/Object;
dup
astore 11
start local 11 29: ifnull 31
aload 1
aload 11
invokeinterface java.util.function.Predicate.test:(Ljava/lang/Object;)Z
ifeq 31
30: lload 8
lconst_1
iload 10
lshl
lor
lstore 8
end local 11 31: StackMap locals:
StackMap stack:
iinc 10 1
StackMap locals:
StackMap stack:
32: iload 10
iload 6
if_icmplt 28
end local 10 33: lload 8
lconst_0
lcmp
ifeq 51
34: aload 0
invokevirtual java.util.concurrent.LinkedBlockingQueue.fullyLock:()V
35: iconst_0
istore 10
start local 10 36: goto 45
37: StackMap locals:
StackMap stack:
lload 8
lconst_1
iload 10
lshl
land
lconst_0
lcmp
ifeq 43
38: aload 5
iload 10
aaload
dup
astore 11
start local 11 39: getfield java.util.concurrent.LinkedBlockingQueue$Node.item:Ljava/lang/Object;
ifnull 43
40: aload 0
aload 11
aload 4
invokevirtual java.util.concurrent.LinkedBlockingQueue.findPred:(Ljava/util/concurrent/LinkedBlockingQueue$Node;Ljava/util/concurrent/LinkedBlockingQueue$Node;)Ljava/util/concurrent/LinkedBlockingQueue$Node;
astore 4
41: aload 0
aload 11
aload 4
invokevirtual java.util.concurrent.LinkedBlockingQueue.unlink:(Ljava/util/concurrent/LinkedBlockingQueue$Node;Ljava/util/concurrent/LinkedBlockingQueue$Node;)V
42: iconst_1
istore 2
end local 11 43: StackMap locals:
StackMap stack:
aload 5
iload 10
aconst_null
aastore
44: iinc 10 1
StackMap locals:
StackMap stack:
45: iload 10
iload 6
if_icmplt 37
end local 10 46: goto 50
StackMap locals: java.util.concurrent.LinkedBlockingQueue java.util.function.Predicate int java.util.concurrent.LinkedBlockingQueue$Node java.util.concurrent.LinkedBlockingQueue$Node java.util.concurrent.LinkedBlockingQueue$Node[] int int long
StackMap stack: java.lang.Throwable
47: astore 12
48: aload 0
invokevirtual java.util.concurrent.LinkedBlockingQueue.fullyUnlock:()V
49: aload 12
athrow
50: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.util.concurrent.LinkedBlockingQueue.fullyUnlock:()V
end local 8 51: StackMap locals:
StackMap stack:
iload 6
ifle 52
aload 3
ifnonnull 5
52: StackMap locals:
StackMap stack:
iload 2
ireturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 53 0 this Ljava/util/concurrent/LinkedBlockingQueue<TE;>;
0 53 1 filter Ljava/util/function/Predicate<-TE;>;
1 53 2 removed Z
2 53 3 p Ljava/util/concurrent/LinkedBlockingQueue$Node<TE;>;
3 53 4 ancestor Ljava/util/concurrent/LinkedBlockingQueue$Node<TE;>;
4 53 5 nodes [Ljava/util/concurrent/LinkedBlockingQueue$Node;
16 21 6 n I
24 53 6 n I
5 53 7 len I
9 14 8 q Ljava/util/concurrent/LinkedBlockingQueue$Node<TE;>;
26 51 8 deathRow J
27 33 10 i I
29 31 11 e TE;
36 46 10 i I
39 43 11 q Ljava/util/concurrent/LinkedBlockingQueue$Node<TE;>;
Exception table:
from to target type
6 21 21 any
35 47 47 any
Signature: (Ljava/util/function/Predicate<-TE;>;)Z
MethodParameters:
Name Flags
filter
private void writeObject(java.io.ObjectOutputStream);
descriptor: (Ljava/io/ObjectOutputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.util.concurrent.LinkedBlockingQueue.fullyLock:()V
1: aload 1
invokevirtual java.io.ObjectOutputStream.defaultWriteObject:()V
2: aload 0
getfield java.util.concurrent.LinkedBlockingQueue.head:Ljava/util/concurrent/LinkedBlockingQueue$Node;
getfield java.util.concurrent.LinkedBlockingQueue$Node.next:Ljava/util/concurrent/LinkedBlockingQueue$Node;
astore 2
start local 2 3: goto 6
4: StackMap locals: java.util.concurrent.LinkedBlockingQueue$Node
StackMap stack:
aload 1
aload 2
getfield java.util.concurrent.LinkedBlockingQueue$Node.item:Ljava/lang/Object;
invokevirtual java.io.ObjectOutputStream.writeObject:(Ljava/lang/Object;)V
5: aload 2
getfield java.util.concurrent.LinkedBlockingQueue$Node.next:Ljava/util/concurrent/LinkedBlockingQueue$Node;
astore 2
StackMap locals:
StackMap stack:
6: aload 2
ifnonnull 4
end local 2 7: aload 1
aconst_null
invokevirtual java.io.ObjectOutputStream.writeObject:(Ljava/lang/Object;)V
8: goto 12
StackMap locals: java.util.concurrent.LinkedBlockingQueue java.io.ObjectOutputStream
StackMap stack: java.lang.Throwable
9: astore 3
10: aload 0
invokevirtual java.util.concurrent.LinkedBlockingQueue.fullyUnlock:()V
11: aload 3
athrow
12: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.util.concurrent.LinkedBlockingQueue.fullyUnlock:()V
13: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljava/util/concurrent/LinkedBlockingQueue<TE;>;
0 14 1 s Ljava/io/ObjectOutputStream;
3 7 2 p Ljava/util/concurrent/LinkedBlockingQueue$Node<TE;>;
Exception table:
from to target type
1 9 9 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
private void readObject(java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectInputStream.defaultReadObject:()V
1: aload 0
getfield java.util.concurrent.LinkedBlockingQueue.count:Ljava/util/concurrent/atomic/AtomicInteger;
iconst_0
invokevirtual java.util.concurrent.atomic.AtomicInteger.set:(I)V
2: aload 0
aload 0
new java.util.concurrent.LinkedBlockingQueue$Node
dup
aconst_null
invokespecial java.util.concurrent.LinkedBlockingQueue$Node.<init>:(Ljava/lang/Object;)V
dup_x1
putfield java.util.concurrent.LinkedBlockingQueue.head:Ljava/util/concurrent/LinkedBlockingQueue$Node;
putfield java.util.concurrent.LinkedBlockingQueue.last:Ljava/util/concurrent/LinkedBlockingQueue$Node;
3: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.io.ObjectInputStream.readObject:()Ljava/lang/Object;
astore 2
start local 2 4: aload 2
ifnonnull 6
5: goto 8
6: StackMap locals: java.lang.Object
StackMap stack:
aload 0
aload 2
invokevirtual java.util.concurrent.LinkedBlockingQueue.add:(Ljava/lang/Object;)Z
pop
end local 2 7: goto 3
8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljava/util/concurrent/LinkedBlockingQueue<TE;>;
0 9 1 s Ljava/io/ObjectInputStream;
4 7 2 item TE;
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
MethodParameters:
Name Flags
s
private static boolean lambda$0(java.util.Collection, java.lang.Object);
descriptor: (Ljava/util/Collection;Ljava/lang/Object;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 0
aload 1
invokeinterface java.util.Collection.contains:(Ljava/lang/Object;)Z
ireturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 e TE;
private static boolean lambda$1(java.util.Collection, java.lang.Object);
descriptor: (Ljava/util/Collection;Ljava/lang/Object;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 0
aload 1
invokeinterface java.util.Collection.contains:(Ljava/lang/Object;)Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 3 1 e TE;
}
Signature: <E:Ljava/lang/Object;>Ljava/util/AbstractQueue<TE;>;Ljava/util/concurrent/BlockingQueue<TE;>;Ljava/io/Serializable;
SourceFile: "LinkedBlockingQueue.java"
NestMembers:
java.util.concurrent.LinkedBlockingQueue$Itr java.util.concurrent.LinkedBlockingQueue$LBQSpliterator java.util.concurrent.LinkedBlockingQueue$Node
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
private Itr = java.util.concurrent.LinkedBlockingQueue$Itr of java.util.concurrent.LinkedBlockingQueue
private final LBQSpliterator = java.util.concurrent.LinkedBlockingQueue$LBQSpliterator of java.util.concurrent.LinkedBlockingQueue
Node = java.util.concurrent.LinkedBlockingQueue$Node of java.util.concurrent.LinkedBlockingQueue