final class reactor.util.concurrent.SpscArrayQueue<T> extends reactor.util.concurrent.SpscArrayQueueP3<T> implements java.util.Queue<T>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: reactor.util.concurrent.SpscArrayQueue
super_class: reactor.util.concurrent.SpscArrayQueueP3
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 494623116936946976
void <init>(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokestatic reactor.util.concurrent.Queues.ceilingNextPowerOfTwo:(I)I
invokespecial reactor.util.concurrent.SpscArrayQueueP3.<init>:(I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lreactor/util/concurrent/SpscArrayQueue<TT;>;
0 2 1 capacity I
MethodParameters:
Name Flags
capacity
public boolean offer();
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: aload 1
ldc "e"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 0
getfield reactor.util.concurrent.SpscArrayQueue.producerIndex:J
lstore 2
start local 2 2: lload 2
l2i
aload 0
getfield reactor.util.concurrent.SpscArrayQueue.mask:I
iand
istore 4
start local 4 3: aload 0
iload 4
invokevirtual reactor.util.concurrent.SpscArrayQueue.get:(I)Ljava/lang/Object;
ifnull 5
4: iconst_0
ireturn
5: StackMap locals: long int
StackMap stack:
aload 0
iload 4
aload 1
invokevirtual reactor.util.concurrent.SpscArrayQueue.lazySet:(ILjava/lang/Object;)V
6: getstatic reactor.util.concurrent.SpscArrayQueue.PRODUCER_INDEX:Ljava/util/concurrent/atomic/AtomicLongFieldUpdater;
aload 0
lload 2
lconst_1
ladd
invokevirtual java.util.concurrent.atomic.AtomicLongFieldUpdater.lazySet:(Ljava/lang/Object;J)V
7: iconst_1
ireturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lreactor/util/concurrent/SpscArrayQueue<TT;>;
0 8 1 e TT;
2 8 2 pi J
3 8 4 offset I
Signature: (TT;)Z
MethodParameters:
Name Flags
e
public T poll();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=1
start local 0 0: aload 0
getfield reactor.util.concurrent.SpscArrayQueue.consumerIndex:J
lstore 1
start local 1 1: lload 1
l2i
aload 0
getfield reactor.util.concurrent.SpscArrayQueue.mask:I
iand
istore 3
start local 3 2: aload 0
iload 3
invokevirtual reactor.util.concurrent.SpscArrayQueue.get:(I)Ljava/lang/Object;
astore 4
start local 4 3: aload 4
ifnull 6
4: aload 0
iload 3
aconst_null
invokevirtual reactor.util.concurrent.SpscArrayQueue.lazySet:(ILjava/lang/Object;)V
5: getstatic reactor.util.concurrent.SpscArrayQueue.CONSUMER_INDEX:Ljava/util/concurrent/atomic/AtomicLongFieldUpdater;
aload 0
lload 1
lconst_1
ladd
invokevirtual java.util.concurrent.atomic.AtomicLongFieldUpdater.lazySet:(Ljava/lang/Object;J)V
6: StackMap locals: long int java.lang.Object
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lreactor/util/concurrent/SpscArrayQueue<TT;>;
1 7 1 ci J
2 7 3 offset I
3 7 4 v TT;
Signature: ()TT;
RuntimeVisibleAnnotations:
reactor.util.annotation.Nullable()
public T peek();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield reactor.util.concurrent.SpscArrayQueue.consumerIndex:J
l2i
aload 0
getfield reactor.util.concurrent.SpscArrayQueue.mask:I
iand
istore 1
start local 1 1: aload 0
iload 1
invokevirtual reactor.util.concurrent.SpscArrayQueue.get:(I)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lreactor/util/concurrent/SpscArrayQueue<TT;>;
1 2 1 offset I
Signature: ()TT;
RuntimeVisibleAnnotations:
reactor.util.annotation.Nullable()
public boolean isEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield reactor.util.concurrent.SpscArrayQueue.producerIndex:J
aload 0
getfield reactor.util.concurrent.SpscArrayQueue.consumerIndex:J
lcmp
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lreactor/util/concurrent/SpscArrayQueue<TT;>;
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: StackMap locals:
StackMap stack:
aload 0
invokevirtual reactor.util.concurrent.SpscArrayQueue.poll:()Ljava/lang/Object;
ifnull 1
aload 0
invokevirtual reactor.util.concurrent.SpscArrayQueue.isEmpty:()Z
ifeq 0
1: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lreactor/util/concurrent/SpscArrayQueue<TT;>;
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=1
start local 0 0: aload 0
getfield reactor.util.concurrent.SpscArrayQueue.consumerIndex:J
lstore 1
start local 1 1: StackMap locals: long
StackMap stack:
aload 0
getfield reactor.util.concurrent.SpscArrayQueue.producerIndex:J
lstore 3
start local 3 2: aload 0
getfield reactor.util.concurrent.SpscArrayQueue.consumerIndex:J
lstore 5
start local 5 3: lload 1
lload 5
lcmp
ifne 5
4: lload 3
lload 1
lsub
l2i
ireturn
5: StackMap locals: long long
StackMap stack:
lload 5
lstore 1
end local 5 end local 3 6: goto 1
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lreactor/util/concurrent/SpscArrayQueue<TT;>;
1 7 1 ci J
2 6 3 pi J
3 6 5 ci2 J
public boolean contains(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lreactor/util/concurrent/SpscArrayQueue<TT;>;
0 1 1 o Ljava/lang/Object;
MethodParameters:
Name Flags
o
public java.util.Iterator<T> iterator();
descriptor: ()Ljava/util/Iterator;
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 Lreactor/util/concurrent/SpscArrayQueue<TT;>;
Signature: ()Ljava/util/Iterator<TT;>;
public java.lang.Object[] toArray();
descriptor: ()[Ljava/lang/Object;
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 Lreactor/util/concurrent/SpscArrayQueue<TT;>;
public <R> R[] toArray();
descriptor: ([Ljava/lang/Object;)[Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lreactor/util/concurrent/SpscArrayQueue<TT;>;
0 1 1 a [Ljava/lang/Object;
Signature: <R:Ljava/lang/Object;>([TR;)[TR;
MethodParameters:
Name Flags
a
public boolean remove(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lreactor/util/concurrent/SpscArrayQueue<TT;>;
0 1 1 o Ljava/lang/Object;
MethodParameters:
Name Flags
o
public boolean containsAll(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: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lreactor/util/concurrent/SpscArrayQueue<TT;>;
0 1 1 c Ljava/util/Collection<*>;
Signature: (Ljava/util/Collection<*>;)Z
MethodParameters:
Name Flags
c
public boolean addAll(java.util.Collection<? extends T>);
descriptor: (Ljava/util/Collection;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lreactor/util/concurrent/SpscArrayQueue<TT;>;
0 1 1 c Ljava/util/Collection<+TT;>;
Signature: (Ljava/util/Collection<+TT;>;)Z
MethodParameters:
Name Flags
c
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: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lreactor/util/concurrent/SpscArrayQueue<TT;>;
0 1 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: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lreactor/util/concurrent/SpscArrayQueue<TT;>;
0 1 1 c Ljava/util/Collection<*>;
Signature: (Ljava/util/Collection<*>;)Z
MethodParameters:
Name Flags
c
public boolean add();
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lreactor/util/concurrent/SpscArrayQueue<TT;>;
0 1 1 e TT;
Signature: (TT;)Z
MethodParameters:
Name Flags
e
public T remove();
descriptor: ()Ljava/lang/Object;
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 Lreactor/util/concurrent/SpscArrayQueue<TT;>;
Signature: ()TT;
public T element();
descriptor: ()Ljava/lang/Object;
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 Lreactor/util/concurrent/SpscArrayQueue<TT;>;
Signature: ()TT;
}
Signature: <T:Ljava/lang/Object;>Lreactor/util/concurrent/SpscArrayQueueP3<TT;>;Ljava/util/Queue<TT;>;
SourceFile: "SpscArrayQueue.java"