public final class io.reactivex.internal.util.QueueDrainHelper
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.reactivex.internal.util.QueueDrainHelper
super_class: java.lang.Object
{
static final long COMPLETED_MASK;
descriptor: J
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -9223372036854775808
static final long REQUESTED_MASK;
descriptor: J
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 9223372036854775807
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: new java.lang.IllegalStateException
dup
ldc "No instances!"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/reactivex/internal/util/QueueDrainHelper;
public static <T, U> void drainMaxLoop(io.reactivex.internal.fuseable.SimplePlainQueue<T>, org.reactivestreams.Subscriber<? super U>, boolean, io.reactivex.disposables.Disposable, io.reactivex.internal.util.QueueDrain<T, U>);
descriptor: (Lio/reactivex/internal/fuseable/SimplePlainQueue;Lorg/reactivestreams/Subscriber;ZLio/reactivex/disposables/Disposable;Lio/reactivex/internal/util/QueueDrain;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=11, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iconst_1
istore 5
start local 5 1: StackMap locals: int
StackMap stack:
aload 4
invokeinterface io.reactivex.internal.util.QueueDrain.done:()Z
istore 6
start local 6 2: aload 0
invokeinterface io.reactivex.internal.fuseable.SimplePlainQueue.poll:()Ljava/lang/Object;
astore 7
start local 7 3: aload 7
ifnonnull 4
iconst_1
goto 5
StackMap locals: int java.lang.Object
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: istore 8
start local 8 6: iload 6
iload 8
aload 1
iload 2
aload 0
aload 4
invokestatic io.reactivex.internal.util.QueueDrainHelper.checkTerminated:(ZZLorg/reactivestreams/Subscriber;ZLio/reactivex/internal/fuseable/SimpleQueue;Lio/reactivex/internal/util/QueueDrain;)Z
ifeq 10
7: aload 3
ifnull 9
8: aload 3
invokeinterface io.reactivex.disposables.Disposable.dispose:()V
9: StackMap locals: int
StackMap stack:
return
10: StackMap locals:
StackMap stack:
iload 8
ifeq 12
11: goto 23
12: StackMap locals:
StackMap stack:
aload 4
invokeinterface io.reactivex.internal.util.QueueDrain.requested:()J
lstore 9
start local 9 13: lload 9
lconst_0
lcmp
ifeq 18
14: aload 4
aload 1
aload 7
invokeinterface io.reactivex.internal.util.QueueDrain.accept:(Lorg/reactivestreams/Subscriber;Ljava/lang/Object;)Z
ifeq 1
15: lload 9
ldc 9223372036854775807
lcmp
ifeq 1
16: aload 4
lconst_1
invokeinterface io.reactivex.internal.util.QueueDrain.produced:(J)J
pop2
17: goto 1
18: StackMap locals: long
StackMap stack:
aload 0
invokeinterface io.reactivex.internal.fuseable.SimplePlainQueue.clear:()V
19: aload 3
ifnull 21
20: aload 3
invokeinterface io.reactivex.disposables.Disposable.dispose:()V
21: StackMap locals:
StackMap stack:
aload 1
new io.reactivex.exceptions.MissingBackpressureException
dup
ldc "Could not emit value due to lack of requests."
invokespecial io.reactivex.exceptions.MissingBackpressureException.<init>:(Ljava/lang/String;)V
invokeinterface org.reactivestreams.Subscriber.onError:(Ljava/lang/Throwable;)V
22: return
end local 9 end local 8 end local 7 end local 6 23: StackMap locals: io.reactivex.internal.fuseable.SimplePlainQueue org.reactivestreams.Subscriber int io.reactivex.disposables.Disposable io.reactivex.internal.util.QueueDrain int
StackMap stack:
aload 4
iload 5
ineg
invokeinterface io.reactivex.internal.util.QueueDrain.leave:(I)I
istore 5
24: iload 5
ifne 1
25: 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 26 0 q Lio/reactivex/internal/fuseable/SimplePlainQueue<TT;>;
0 26 1 a Lorg/reactivestreams/Subscriber<-TU;>;
0 26 2 delayError Z
0 26 3 dispose Lio/reactivex/disposables/Disposable;
0 26 4 qd Lio/reactivex/internal/util/QueueDrain<TT;TU;>;
1 26 5 missed I
2 23 6 d Z
3 23 7 v TT;
6 23 8 empty Z
13 23 9 r J
Signature: <T:Ljava/lang/Object;U:Ljava/lang/Object;>(Lio/reactivex/internal/fuseable/SimplePlainQueue<TT;>;Lorg/reactivestreams/Subscriber<-TU;>;ZLio/reactivex/disposables/Disposable;Lio/reactivex/internal/util/QueueDrain<TT;TU;>;)V
MethodParameters:
Name Flags
q
a
delayError
dispose
qd
public static <T, U> boolean checkTerminated(boolean, boolean, org.reactivestreams.Subscriber<?>, boolean, io.reactivex.internal.fuseable.SimpleQueue<?>, io.reactivex.internal.util.QueueDrain<T, U>);
descriptor: (ZZLorg/reactivestreams/Subscriber;ZLio/reactivex/internal/fuseable/SimpleQueue;Lio/reactivex/internal/util/QueueDrain;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 5
invokeinterface io.reactivex.internal.util.QueueDrain.cancelled:()Z
ifeq 3
1: aload 4
invokeinterface io.reactivex.internal.fuseable.SimpleQueue.clear:()V
2: iconst_1
ireturn
3: StackMap locals:
StackMap stack:
iload 0
ifeq 20
4: iload 3
ifeq 12
5: iload 1
ifeq 20
6: aload 5
invokeinterface io.reactivex.internal.util.QueueDrain.error:()Ljava/lang/Throwable;
astore 6
start local 6 7: aload 6
ifnull 10
8: aload 2
aload 6
invokeinterface org.reactivestreams.Subscriber.onError:(Ljava/lang/Throwable;)V
9: goto 11
10: StackMap locals: java.lang.Throwable
StackMap stack:
aload 2
invokeinterface org.reactivestreams.Subscriber.onComplete:()V
11: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 6 12: StackMap locals:
StackMap stack:
aload 5
invokeinterface io.reactivex.internal.util.QueueDrain.error:()Ljava/lang/Throwable;
astore 6
start local 6 13: aload 6
ifnull 17
14: aload 4
invokeinterface io.reactivex.internal.fuseable.SimpleQueue.clear:()V
15: aload 2
aload 6
invokeinterface org.reactivestreams.Subscriber.onError:(Ljava/lang/Throwable;)V
16: iconst_1
ireturn
17: StackMap locals: java.lang.Throwable
StackMap stack:
iload 1
ifeq 20
18: aload 2
invokeinterface org.reactivestreams.Subscriber.onComplete:()V
19: iconst_1
ireturn
end local 6 20: StackMap locals:
StackMap stack:
iconst_0
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 21 0 d Z
0 21 1 empty Z
0 21 2 s Lorg/reactivestreams/Subscriber<*>;
0 21 3 delayError Z
0 21 4 q Lio/reactivex/internal/fuseable/SimpleQueue<*>;
0 21 5 qd Lio/reactivex/internal/util/QueueDrain<TT;TU;>;
7 12 6 err Ljava/lang/Throwable;
13 20 6 err Ljava/lang/Throwable;
Signature: <T:Ljava/lang/Object;U:Ljava/lang/Object;>(ZZLorg/reactivestreams/Subscriber<*>;ZLio/reactivex/internal/fuseable/SimpleQueue<*>;Lio/reactivex/internal/util/QueueDrain<TT;TU;>;)Z
MethodParameters:
Name Flags
d
empty
s
delayError
q
qd
public static <T, U> void drainLoop(io.reactivex.internal.fuseable.SimplePlainQueue<T>, io.reactivex.Observer<? super U>, boolean, io.reactivex.disposables.Disposable, io.reactivex.internal.util.ObservableQueueDrain<T, U>);
descriptor: (Lio/reactivex/internal/fuseable/SimplePlainQueue;Lio/reactivex/Observer;ZLio/reactivex/disposables/Disposable;Lio/reactivex/internal/util/ObservableQueueDrain;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iconst_1
istore 5
start local 5 1: StackMap locals: int
StackMap stack:
aload 4
invokeinterface io.reactivex.internal.util.ObservableQueueDrain.done:()Z
aload 0
invokeinterface io.reactivex.internal.fuseable.SimplePlainQueue.isEmpty:()Z
aload 1
iload 2
aload 0
aload 3
aload 4
invokestatic io.reactivex.internal.util.QueueDrainHelper.checkTerminated:(ZZLio/reactivex/Observer;ZLio/reactivex/internal/fuseable/SimpleQueue;Lio/reactivex/disposables/Disposable;Lio/reactivex/internal/util/ObservableQueueDrain;)Z
ifeq 3
2: return
3: StackMap locals:
StackMap stack:
aload 4
invokeinterface io.reactivex.internal.util.ObservableQueueDrain.done:()Z
istore 6
start local 6 4: aload 0
invokeinterface io.reactivex.internal.fuseable.SimplePlainQueue.poll:()Ljava/lang/Object;
astore 7
start local 7 5: aload 7
ifnonnull 6
iconst_1
goto 7
StackMap locals: int java.lang.Object
StackMap stack:
6: iconst_0
StackMap locals:
StackMap stack: int
7: istore 8
start local 8 8: iload 6
iload 8
aload 1
iload 2
aload 0
aload 3
aload 4
invokestatic io.reactivex.internal.util.QueueDrainHelper.checkTerminated:(ZZLio/reactivex/Observer;ZLio/reactivex/internal/fuseable/SimpleQueue;Lio/reactivex/disposables/Disposable;Lio/reactivex/internal/util/ObservableQueueDrain;)Z
ifeq 10
9: return
10: StackMap locals: int
StackMap stack:
iload 8
ifeq 12
11: goto 14
12: StackMap locals:
StackMap stack:
aload 4
aload 1
aload 7
invokeinterface io.reactivex.internal.util.ObservableQueueDrain.accept:(Lio/reactivex/Observer;Ljava/lang/Object;)V
end local 8 end local 7 end local 6 13: goto 3
14: StackMap locals:
StackMap stack:
aload 4
iload 5
ineg
invokeinterface io.reactivex.internal.util.ObservableQueueDrain.leave:(I)I
istore 5
15: iload 5
ifne 1
16: 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 17 0 q Lio/reactivex/internal/fuseable/SimplePlainQueue<TT;>;
0 17 1 a Lio/reactivex/Observer<-TU;>;
0 17 2 delayError Z
0 17 3 dispose Lio/reactivex/disposables/Disposable;
0 17 4 qd Lio/reactivex/internal/util/ObservableQueueDrain<TT;TU;>;
1 17 5 missed I
4 13 6 d Z
5 13 7 v TT;
8 13 8 empty Z
Signature: <T:Ljava/lang/Object;U:Ljava/lang/Object;>(Lio/reactivex/internal/fuseable/SimplePlainQueue<TT;>;Lio/reactivex/Observer<-TU;>;ZLio/reactivex/disposables/Disposable;Lio/reactivex/internal/util/ObservableQueueDrain<TT;TU;>;)V
MethodParameters:
Name Flags
q
a
delayError
dispose
qd
public static <T, U> boolean checkTerminated(boolean, boolean, io.reactivex.Observer<?>, boolean, io.reactivex.internal.fuseable.SimpleQueue<?>, io.reactivex.disposables.Disposable, io.reactivex.internal.util.ObservableQueueDrain<T, U>);
descriptor: (ZZLio/reactivex/Observer;ZLio/reactivex/internal/fuseable/SimpleQueue;Lio/reactivex/disposables/Disposable;Lio/reactivex/internal/util/ObservableQueueDrain;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=8, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 6
invokeinterface io.reactivex.internal.util.ObservableQueueDrain.cancelled:()Z
ifeq 4
1: aload 4
invokeinterface io.reactivex.internal.fuseable.SimpleQueue.clear:()V
2: aload 5
invokeinterface io.reactivex.disposables.Disposable.dispose:()V
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
iload 0
ifeq 27
5: iload 3
ifeq 15
6: iload 1
ifeq 27
7: aload 5
ifnull 9
8: aload 5
invokeinterface io.reactivex.disposables.Disposable.dispose:()V
9: StackMap locals:
StackMap stack:
aload 6
invokeinterface io.reactivex.internal.util.ObservableQueueDrain.error:()Ljava/lang/Throwable;
astore 7
start local 7 10: aload 7
ifnull 13
11: aload 2
aload 7
invokeinterface io.reactivex.Observer.onError:(Ljava/lang/Throwable;)V
12: goto 14
13: StackMap locals: java.lang.Throwable
StackMap stack:
aload 2
invokeinterface io.reactivex.Observer.onComplete:()V
14: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 7 15: StackMap locals:
StackMap stack:
aload 6
invokeinterface io.reactivex.internal.util.ObservableQueueDrain.error:()Ljava/lang/Throwable;
astore 7
start local 7 16: aload 7
ifnull 22
17: aload 4
invokeinterface io.reactivex.internal.fuseable.SimpleQueue.clear:()V
18: aload 5
ifnull 20
19: aload 5
invokeinterface io.reactivex.disposables.Disposable.dispose:()V
20: StackMap locals: java.lang.Throwable
StackMap stack:
aload 2
aload 7
invokeinterface io.reactivex.Observer.onError:(Ljava/lang/Throwable;)V
21: iconst_1
ireturn
22: StackMap locals:
StackMap stack:
iload 1
ifeq 27
23: aload 5
ifnull 25
24: aload 5
invokeinterface io.reactivex.disposables.Disposable.dispose:()V
25: StackMap locals:
StackMap stack:
aload 2
invokeinterface io.reactivex.Observer.onComplete:()V
26: iconst_1
ireturn
end local 7 27: StackMap locals:
StackMap stack:
iconst_0
ireturn
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 28 0 d Z
0 28 1 empty Z
0 28 2 observer Lio/reactivex/Observer<*>;
0 28 3 delayError Z
0 28 4 q Lio/reactivex/internal/fuseable/SimpleQueue<*>;
0 28 5 disposable Lio/reactivex/disposables/Disposable;
0 28 6 qd Lio/reactivex/internal/util/ObservableQueueDrain<TT;TU;>;
10 15 7 err Ljava/lang/Throwable;
16 27 7 err Ljava/lang/Throwable;
Signature: <T:Ljava/lang/Object;U:Ljava/lang/Object;>(ZZLio/reactivex/Observer<*>;ZLio/reactivex/internal/fuseable/SimpleQueue<*>;Lio/reactivex/disposables/Disposable;Lio/reactivex/internal/util/ObservableQueueDrain<TT;TU;>;)Z
MethodParameters:
Name Flags
d
empty
observer
delayError
q
disposable
qd
public static <T> io.reactivex.internal.fuseable.SimpleQueue<T> createQueue(int);
descriptor: (I)Lio/reactivex/internal/fuseable/SimpleQueue;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: iload 0
ifge 2
1: new io.reactivex.internal.queue.SpscLinkedArrayQueue
dup
iload 0
ineg
invokespecial io.reactivex.internal.queue.SpscLinkedArrayQueue.<init>:(I)V
areturn
2: StackMap locals:
StackMap stack:
new io.reactivex.internal.queue.SpscArrayQueue
dup
iload 0
invokespecial io.reactivex.internal.queue.SpscArrayQueue.<init>:(I)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 capacityHint I
Signature: <T:Ljava/lang/Object;>(I)Lio/reactivex/internal/fuseable/SimpleQueue<TT;>;
MethodParameters:
Name Flags
capacityHint
public static void request(org.reactivestreams.Subscription, int);
descriptor: (Lorg/reactivestreams/Subscription;I)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
ifge 1
ldc 9223372036854775807
goto 2
StackMap locals:
StackMap stack: org.reactivestreams.Subscription
1: iload 1
i2l
StackMap locals: org.reactivestreams.Subscription int
StackMap stack: org.reactivestreams.Subscription long
2: invokeinterface org.reactivestreams.Subscription.request:(J)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 s Lorg/reactivestreams/Subscription;
0 4 1 prefetch I
MethodParameters:
Name Flags
s
prefetch
public static <T> boolean postCompleteRequest(long, org.reactivestreams.Subscriber<? super T>, java.util.Queue<T>, java.util.concurrent.atomic.AtomicLong, io.reactivex.functions.BooleanSupplier);
descriptor: (JLorg/reactivestreams/Subscriber;Ljava/util/Queue;Ljava/util/concurrent/atomic/AtomicLong;Lio/reactivex/functions/BooleanSupplier;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=12, args_size=5
start local 0 start local 2 start local 3 start local 4 start local 5 0: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
lstore 6
start local 6 1: lload 6
ldc 9223372036854775807
land
lstore 8
start local 8 2: lload 6
ldc -9223372036854775808
land
lload 8
lload 0
invokestatic io.reactivex.internal.util.BackpressureHelper.addCap:(JJ)J
lor
lstore 10
start local 10 3: aload 4
lload 6
lload 10
invokevirtual java.util.concurrent.atomic.AtomicLong.compareAndSet:(JJ)Z
ifeq 0
4: lload 6
ldc -9223372036854775808
lcmp
ifne 7
5: lload 0
ldc -9223372036854775808
lor
aload 2
aload 3
aload 4
aload 5
invokestatic io.reactivex.internal.util.QueueDrainHelper.postCompleteDrain:(JLorg/reactivestreams/Subscriber;Ljava/util/Queue;Ljava/util/concurrent/atomic/AtomicLong;Lio/reactivex/functions/BooleanSupplier;)Z
pop
6: iconst_1
ireturn
7: StackMap locals: long long long
StackMap stack:
iconst_0
ireturn
end local 10 end local 8 end local 6 end local 5 end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 n J
0 8 2 actual Lorg/reactivestreams/Subscriber<-TT;>;
0 8 3 queue Ljava/util/Queue<TT;>;
0 8 4 state Ljava/util/concurrent/atomic/AtomicLong;
0 8 5 isCancelled Lio/reactivex/functions/BooleanSupplier;
1 8 6 r J
2 8 8 r0 J
3 8 10 u J
Signature: <T:Ljava/lang/Object;>(JLorg/reactivestreams/Subscriber<-TT;>;Ljava/util/Queue<TT;>;Ljava/util/concurrent/atomic/AtomicLong;Lio/reactivex/functions/BooleanSupplier;)Z
MethodParameters:
Name Flags
n
actual
queue
state
isCancelled
static boolean isCancelled(io.reactivex.functions.BooleanSupplier);
descriptor: (Lio/reactivex/functions/BooleanSupplier;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokeinterface io.reactivex.functions.BooleanSupplier.getAsBoolean:()Z
1: ireturn
2: StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
start local 1 3: aload 1
invokestatic io.reactivex.exceptions.Exceptions.throwIfFatal:(Ljava/lang/Throwable;)V
4: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 cancelled Lio/reactivex/functions/BooleanSupplier;
3 5 1 ex Ljava/lang/Throwable;
Exception table:
from to target type
0 1 2 Class java.lang.Throwable
MethodParameters:
Name Flags
cancelled
static <T> boolean postCompleteDrain(long, org.reactivestreams.Subscriber<? super T>, java.util.Queue<T>, java.util.concurrent.atomic.AtomicLong, io.reactivex.functions.BooleanSupplier);
descriptor: (JLorg/reactivestreams/Subscriber;Ljava/util/Queue;Ljava/util/concurrent/atomic/AtomicLong;Lio/reactivex/functions/BooleanSupplier;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=9, args_size=5
start local 0 start local 2 start local 3 start local 4 start local 5 0: lload 0
ldc -9223372036854775808
land
lstore 6
start local 6 1: goto 10
2: StackMap locals: long
StackMap stack:
aload 5
invokestatic io.reactivex.internal.util.QueueDrainHelper.isCancelled:(Lio/reactivex/functions/BooleanSupplier;)Z
ifeq 4
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Queue.poll:()Ljava/lang/Object;
astore 8
start local 8 5: aload 8
ifnonnull 8
6: aload 2
invokeinterface org.reactivestreams.Subscriber.onComplete:()V
7: iconst_1
ireturn
8: StackMap locals: java.lang.Object
StackMap stack:
aload 2
aload 8
invokeinterface org.reactivestreams.Subscriber.onNext:(Ljava/lang/Object;)V
9: lload 6
lconst_1
ladd
lstore 6
end local 8 10: StackMap locals:
StackMap stack:
lload 6
lload 0
lcmp
ifne 2
11: aload 5
invokestatic io.reactivex.internal.util.QueueDrainHelper.isCancelled:(Lio/reactivex/functions/BooleanSupplier;)Z
ifeq 13
12: iconst_1
ireturn
13: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Queue.isEmpty:()Z
ifeq 16
14: aload 2
invokeinterface org.reactivestreams.Subscriber.onComplete:()V
15: iconst_1
ireturn
16: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
lstore 0
17: lload 0
lload 6
lcmp
ifne 22
18: aload 4
lload 6
ldc 9223372036854775807
land
lneg
invokevirtual java.util.concurrent.atomic.AtomicLong.addAndGet:(J)J
lstore 0
19: lload 0
ldc 9223372036854775807
land
lconst_0
lcmp
ifne 21
20: iconst_0
ireturn
21: StackMap locals:
StackMap stack:
lload 0
ldc -9223372036854775808
land
lstore 6
22: StackMap locals:
StackMap stack:
goto 10
end local 6 end local 5 end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 n J
0 23 2 actual Lorg/reactivestreams/Subscriber<-TT;>;
0 23 3 queue Ljava/util/Queue<TT;>;
0 23 4 state Ljava/util/concurrent/atomic/AtomicLong;
0 23 5 isCancelled Lio/reactivex/functions/BooleanSupplier;
1 23 6 e J
5 10 8 t TT;
Signature: <T:Ljava/lang/Object;>(JLorg/reactivestreams/Subscriber<-TT;>;Ljava/util/Queue<TT;>;Ljava/util/concurrent/atomic/AtomicLong;Lio/reactivex/functions/BooleanSupplier;)Z
MethodParameters:
Name Flags
n
actual
queue
state
isCancelled
public static <T> void postComplete(org.reactivestreams.Subscriber<? super T>, java.util.Queue<T>, java.util.concurrent.atomic.AtomicLong, io.reactivex.functions.BooleanSupplier);
descriptor: (Lorg/reactivestreams/Subscriber;Ljava/util/Queue;Ljava/util/concurrent/atomic/AtomicLong;Lio/reactivex/functions/BooleanSupplier;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokeinterface java.util.Queue.isEmpty:()Z
ifeq 3
1: aload 0
invokeinterface org.reactivestreams.Subscriber.onComplete:()V
2: return
3: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
aload 0
aload 1
aload 2
aload 3
invokestatic io.reactivex.internal.util.QueueDrainHelper.postCompleteDrain:(JLorg/reactivestreams/Subscriber;Ljava/util/Queue;Ljava/util/concurrent/atomic/AtomicLong;Lio/reactivex/functions/BooleanSupplier;)Z
ifeq 5
4: return
5: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
lstore 4
start local 4 6: lload 4
ldc -9223372036854775808
land
lconst_0
lcmp
ifeq 8
7: return
8: StackMap locals: long
StackMap stack:
lload 4
ldc -9223372036854775808
lor
lstore 6
start local 6 9: aload 2
lload 4
lload 6
invokevirtual java.util.concurrent.atomic.AtomicLong.compareAndSet:(JJ)Z
ifeq 5
10: lload 4
lconst_0
lcmp
ifeq 12
11: lload 6
aload 0
aload 1
aload 2
aload 3
invokestatic io.reactivex.internal.util.QueueDrainHelper.postCompleteDrain:(JLorg/reactivestreams/Subscriber;Ljava/util/Queue;Ljava/util/concurrent/atomic/AtomicLong;Lio/reactivex/functions/BooleanSupplier;)Z
pop
12: StackMap locals: long
StackMap stack:
return
end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 actual Lorg/reactivestreams/Subscriber<-TT;>;
0 13 1 queue Ljava/util/Queue<TT;>;
0 13 2 state Ljava/util/concurrent/atomic/AtomicLong;
0 13 3 isCancelled Lio/reactivex/functions/BooleanSupplier;
6 13 4 r J
9 13 6 u J
Signature: <T:Ljava/lang/Object;>(Lorg/reactivestreams/Subscriber<-TT;>;Ljava/util/Queue<TT;>;Ljava/util/concurrent/atomic/AtomicLong;Lio/reactivex/functions/BooleanSupplier;)V
MethodParameters:
Name Flags
actual
queue
state
isCancelled
}
SourceFile: "QueueDrainHelper.java"