final class io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher<T> extends java.util.concurrent.atomic.AtomicInteger implements io.reactivex.FlowableSubscriber<T>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher
super_class: java.util.concurrent.atomic.AtomicInteger
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -4470634016609963609
final org.reactivestreams.Subscriber<? super T>[] subscribers;
descriptor: [Lorg/reactivestreams/Subscriber;
flags: (0x0010) ACC_FINAL
Signature: [Lorg/reactivestreams/Subscriber<-TT;>;
final java.util.concurrent.atomic.AtomicLongArray requests;
descriptor: Ljava/util/concurrent/atomic/AtomicLongArray;
flags: (0x0010) ACC_FINAL
final long[] emissions;
descriptor: [J
flags: (0x0010) ACC_FINAL
final int prefetch;
descriptor: I
flags: (0x0010) ACC_FINAL
final int limit;
descriptor: I
flags: (0x0010) ACC_FINAL
org.reactivestreams.Subscription upstream;
descriptor: Lorg/reactivestreams/Subscription;
flags: (0x0000)
io.reactivex.internal.fuseable.SimpleQueue<T> queue;
descriptor: Lio/reactivex/internal/fuseable/SimpleQueue;
flags: (0x0000)
Signature: Lio/reactivex/internal/fuseable/SimpleQueue<TT;>;
java.lang.Throwable error;
descriptor: Ljava/lang/Throwable;
flags: (0x0000)
volatile boolean done;
descriptor: Z
flags: (0x0040) ACC_VOLATILE
int index;
descriptor: I
flags: (0x0000)
volatile boolean cancelled;
descriptor: Z
flags: (0x0040) ACC_VOLATILE
final java.util.concurrent.atomic.AtomicInteger subscriberCount;
descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
flags: (0x0010) ACC_FINAL
int produced;
descriptor: I
flags: (0x0000)
int sourceMode;
descriptor: I
flags: (0x0000)
void <init>(org.reactivestreams.Subscriber<? super T>[], );
descriptor: ([Lorg/reactivestreams/Subscriber;I)V
flags: (0x0000)
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:()V
1: aload 0
new java.util.concurrent.atomic.AtomicInteger
dup
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:()V
putfield io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.subscriberCount:Ljava/util/concurrent/atomic/AtomicInteger;
2: aload 0
aload 1
putfield io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.subscribers:[Lorg/reactivestreams/Subscriber;
3: aload 0
iload 2
putfield io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.prefetch:I
4: aload 0
iload 2
iload 2
iconst_2
ishr
isub
putfield io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.limit:I
5: aload 1
arraylength
istore 3
start local 3 6: aload 0
new java.util.concurrent.atomic.AtomicLongArray
dup
iload 3
iload 3
iadd
iconst_1
iadd
invokespecial java.util.concurrent.atomic.AtomicLongArray.<init>:(I)V
putfield io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.requests:Ljava/util/concurrent/atomic/AtomicLongArray;
7: aload 0
getfield io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.requests:Ljava/util/concurrent/atomic/AtomicLongArray;
iload 3
iload 3
iadd
iload 3
i2l
invokevirtual java.util.concurrent.atomic.AtomicLongArray.lazySet:(IJ)V
8: aload 0
iload 3
newarray 11
putfield io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.emissions:[J
9: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/reactivex/internal/operators/parallel/ParallelFromPublisher$ParallelDispatcher<TT;>;
0 10 1 subscribers [Lorg/reactivestreams/Subscriber;
0 10 2 prefetch I
6 10 3 m I
Signature: ([Lorg/reactivestreams/Subscriber<-TT;>;I)V
MethodParameters:
Name Flags
subscribers
prefetch
public void onSubscribe(org.reactivestreams.Subscription);
descriptor: (Lorg/reactivestreams/Subscription;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.upstream:Lorg/reactivestreams/Subscription;
aload 1
invokestatic io.reactivex.internal.subscriptions.SubscriptionHelper.validate:(Lorg/reactivestreams/Subscription;Lorg/reactivestreams/Subscription;)Z
ifeq 21
1: aload 0
aload 1
putfield io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.upstream:Lorg/reactivestreams/Subscription;
2: aload 1
instanceof io.reactivex.internal.fuseable.QueueSubscription
ifeq 18
3: aload 1
checkcast io.reactivex.internal.fuseable.QueueSubscription
astore 2
start local 2 4: aload 2
bipush 7
invokeinterface io.reactivex.internal.fuseable.QueueSubscription.requestFusion:(I)I
istore 3
start local 3 5: iload 3
iconst_1
if_icmpne 12
6: aload 0
iload 3
putfield io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.sourceMode:I
7: aload 0
aload 2
putfield io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.queue:Lio/reactivex/internal/fuseable/SimpleQueue;
8: aload 0
iconst_1
putfield io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.done:Z
9: aload 0
invokevirtual io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.setupSubscribers:()V
10: aload 0
invokevirtual io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.drain:()V
11: return
12: StackMap locals: io.reactivex.internal.fuseable.QueueSubscription int
StackMap stack:
iload 3
iconst_2
if_icmpne 18
13: aload 0
iload 3
putfield io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.sourceMode:I
14: aload 0
aload 2
putfield io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.queue:Lio/reactivex/internal/fuseable/SimpleQueue;
15: aload 0
invokevirtual io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.setupSubscribers:()V
16: aload 1
aload 0
getfield io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.prefetch:I
i2l
invokeinterface org.reactivestreams.Subscription.request:(J)V
17: return
end local 3 end local 2 18: StackMap locals:
StackMap stack:
aload 0
new io.reactivex.internal.queue.SpscArrayQueue
dup
aload 0
getfield io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.prefetch:I
invokespecial io.reactivex.internal.queue.SpscArrayQueue.<init>:(I)V
putfield io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.queue:Lio/reactivex/internal/fuseable/SimpleQueue;
19: aload 0
invokevirtual io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.setupSubscribers:()V
20: aload 1
aload 0
getfield io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.prefetch:I
i2l
invokeinterface org.reactivestreams.Subscription.request:(J)V
21: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lio/reactivex/internal/operators/parallel/ParallelFromPublisher$ParallelDispatcher<TT;>;
0 22 1 s Lorg/reactivestreams/Subscription;
4 18 2 qs Lio/reactivex/internal/fuseable/QueueSubscription<TT;>;
5 18 3 m I
MethodParameters:
Name Flags
s
void setupSubscribers();
descriptor: ()V
flags: (0x0000)
Code:
stack=6, locals=4, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.subscribers:[Lorg/reactivestreams/Subscriber;
astore 1
start local 1 1: aload 1
arraylength
istore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 9
4: StackMap locals: org.reactivestreams.Subscriber[] int int
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.cancelled:Z
ifeq 6
5: return
6: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.subscriberCount:Ljava/util/concurrent/atomic/AtomicInteger;
iload 3
iconst_1
iadd
invokevirtual java.util.concurrent.atomic.AtomicInteger.lazySet:(I)V
7: aload 1
iload 3
aaload
new io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher$RailSubscription
dup
aload 0
iload 3
iload 2
invokespecial io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher$RailSubscription.<init>:(Lio/reactivex/internal/operators/parallel/ParallelFromPublisher$ParallelDispatcher;II)V
invokeinterface org.reactivestreams.Subscriber.onSubscribe:(Lorg/reactivestreams/Subscription;)V
8: iinc 3 1
StackMap locals:
StackMap stack:
9: iload 3
iload 2
if_icmplt 4
end local 3 10: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/reactivex/internal/operators/parallel/ParallelFromPublisher$ParallelDispatcher<TT;>;
1 11 1 subs [Lorg/reactivestreams/Subscriber;
2 11 2 m I
3 10 3 i I
public void onNext();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.sourceMode:I
ifne 5
1: aload 0
getfield io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.queue:Lio/reactivex/internal/fuseable/SimpleQueue;
aload 1
invokeinterface io.reactivex.internal.fuseable.SimpleQueue.offer:(Ljava/lang/Object;)Z
ifne 5
2: aload 0
getfield io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.upstream:Lorg/reactivestreams/Subscription;
invokeinterface org.reactivestreams.Subscription.cancel:()V
3: aload 0
new io.reactivex.exceptions.MissingBackpressureException
dup
ldc "Queue is full?"
invokespecial io.reactivex.exceptions.MissingBackpressureException.<init>:(Ljava/lang/String;)V
invokevirtual io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.onError:(Ljava/lang/Throwable;)V
4: return
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.drain:()V
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/reactivex/internal/operators/parallel/ParallelFromPublisher$ParallelDispatcher<TT;>;
0 7 1 t TT;
Signature: (TT;)V
MethodParameters:
Name Flags
t
public void onError(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.error:Ljava/lang/Throwable;
1: aload 0
iconst_1
putfield io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.done:Z
2: aload 0
invokevirtual io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.drain:()V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/reactivex/internal/operators/parallel/ParallelFromPublisher$ParallelDispatcher<TT;>;
0 4 1 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
t
public void onComplete();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.done:Z
1: aload 0
invokevirtual io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.drain:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/reactivex/internal/operators/parallel/ParallelFromPublisher$ParallelDispatcher<TT;>;
void cancel(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.requests:Ljava/util/concurrent/atomic/AtomicLongArray;
iload 1
invokevirtual java.util.concurrent.atomic.AtomicLongArray.decrementAndGet:(I)J
lconst_0
lcmp
ifne 5
1: aload 0
iconst_1
putfield io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.cancelled:Z
2: aload 0
getfield io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.upstream:Lorg/reactivestreams/Subscription;
invokeinterface org.reactivestreams.Subscription.cancel:()V
3: aload 0
invokevirtual io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.getAndIncrement:()I
ifne 5
4: aload 0
getfield io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.queue:Lio/reactivex/internal/fuseable/SimpleQueue;
invokeinterface io.reactivex.internal.fuseable.SimpleQueue.clear:()V
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/reactivex/internal/operators/parallel/ParallelFromPublisher$ParallelDispatcher<TT;>;
0 6 1 m I
MethodParameters:
Name Flags
m
void drainAsync();
descriptor: ()V
flags: (0x0000)
Code:
stack=6, locals=22, args_size=1
start local 0 0: iconst_1
istore 1
start local 1 1: aload 0
getfield io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.queue:Lio/reactivex/internal/fuseable/SimpleQueue;
astore 2
start local 2 2: aload 0
getfield io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.subscribers:[Lorg/reactivestreams/Subscriber;
astore 3
start local 3 3: aload 0
getfield io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.requests:Ljava/util/concurrent/atomic/AtomicLongArray;
astore 4
start local 4 4: aload 0
getfield io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.emissions:[J
astore 5
start local 5 5: aload 5
arraylength
istore 6
start local 6 6: aload 0
getfield io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.index:I
istore 7
start local 7 7: aload 0
getfield io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.produced:I
istore 8
start local 8 8: StackMap locals: io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher int io.reactivex.internal.fuseable.SimpleQueue org.reactivestreams.Subscriber[] java.util.concurrent.atomic.AtomicLongArray long[] int int int
StackMap stack:
iconst_0
istore 9
start local 9 9: StackMap locals: int
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.cancelled:Z
ifeq 12
10: aload 2
invokeinterface io.reactivex.internal.fuseable.SimpleQueue.clear:()V
11: return
12: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.done:Z
istore 10
start local 10 13: iload 10
ifeq 23
14: aload 0
getfield io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.error:Ljava/lang/Throwable;
astore 11
start local 11 15: aload 11
ifnull 23
16: aload 2
invokeinterface io.reactivex.internal.fuseable.SimpleQueue.clear:()V
17: aload 3
dup
astore 15
arraylength
istore 14
iconst_0
istore 13
goto 21
StackMap locals: io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher int io.reactivex.internal.fuseable.SimpleQueue org.reactivestreams.Subscriber[] java.util.concurrent.atomic.AtomicLongArray long[] int int int int int java.lang.Throwable top int int org.reactivestreams.Subscriber[]
StackMap stack:
18: aload 15
iload 13
aaload
astore 12
start local 12 19: aload 12
aload 11
invokeinterface org.reactivestreams.Subscriber.onError:(Ljava/lang/Throwable;)V
end local 12 20: iinc 13 1
StackMap locals:
StackMap stack:
21: iload 13
iload 14
if_icmplt 18
22: return
end local 11 23: StackMap locals: io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher int io.reactivex.internal.fuseable.SimpleQueue org.reactivestreams.Subscriber[] java.util.concurrent.atomic.AtomicLongArray long[] int int int int int
StackMap stack:
aload 2
invokeinterface io.reactivex.internal.fuseable.SimpleQueue.isEmpty:()Z
istore 11
start local 11 24: iload 10
ifeq 31
iload 11
ifeq 31
25: aload 3
dup
astore 15
arraylength
istore 14
iconst_0
istore 13
goto 29
StackMap locals: io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher int io.reactivex.internal.fuseable.SimpleQueue org.reactivestreams.Subscriber[] java.util.concurrent.atomic.AtomicLongArray long[] int int int int int int top int int org.reactivestreams.Subscriber[]
StackMap stack:
26: aload 15
iload 13
aaload
astore 12
start local 12 27: aload 12
invokeinterface org.reactivestreams.Subscriber.onComplete:()V
end local 12 28: iinc 13 1
StackMap locals:
StackMap stack:
29: iload 13
iload 14
if_icmplt 26
30: return
31: StackMap locals: io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher int io.reactivex.internal.fuseable.SimpleQueue org.reactivestreams.Subscriber[] java.util.concurrent.atomic.AtomicLongArray long[] int int int int int int
StackMap stack:
iload 11
ifeq 33
32: goto 62
33: StackMap locals:
StackMap stack:
aload 4
iload 7
invokevirtual java.util.concurrent.atomic.AtomicLongArray.get:(I)J
lstore 12
start local 12 34: aload 5
iload 7
laload
lstore 14
start local 14 35: lload 12
lload 14
lcmp
ifeq 57
aload 4
iload 6
iload 7
iadd
invokevirtual java.util.concurrent.atomic.AtomicLongArray.get:(I)J
lconst_0
lcmp
ifne 57
36: aload 2
invokeinterface io.reactivex.internal.fuseable.SimpleQueue.poll:()Ljava/lang/Object;
astore 16
start local 16 37: goto 47
end local 16 StackMap locals: io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher int io.reactivex.internal.fuseable.SimpleQueue org.reactivestreams.Subscriber[] java.util.concurrent.atomic.AtomicLongArray long[] int int int int int int long long
StackMap stack: java.lang.Throwable
38: astore 17
start local 17 39: aload 17
invokestatic io.reactivex.exceptions.Exceptions.throwIfFatal:(Ljava/lang/Throwable;)V
40: aload 0
getfield io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.upstream:Lorg/reactivestreams/Subscription;
invokeinterface org.reactivestreams.Subscription.cancel:()V
41: aload 3
dup
astore 21
arraylength
istore 20
iconst_0
istore 19
goto 45
StackMap locals: io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher int io.reactivex.internal.fuseable.SimpleQueue org.reactivestreams.Subscriber[] java.util.concurrent.atomic.AtomicLongArray long[] int int int int int int long long top java.lang.Throwable top int int org.reactivestreams.Subscriber[]
StackMap stack:
42: aload 21
iload 19
aaload
astore 18
start local 18 43: aload 18
aload 17
invokeinterface org.reactivestreams.Subscriber.onError:(Ljava/lang/Throwable;)V
end local 18 44: iinc 19 1
StackMap locals:
StackMap stack:
45: iload 19
iload 20
if_icmplt 42
46: return
end local 17 start local 16 47: StackMap locals: io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher int io.reactivex.internal.fuseable.SimpleQueue org.reactivestreams.Subscriber[] java.util.concurrent.atomic.AtomicLongArray long[] int int int int int int long long java.lang.Object
StackMap stack:
aload 16
ifnonnull 49
48: goto 62
49: StackMap locals:
StackMap stack:
aload 3
iload 7
aaload
aload 16
invokeinterface org.reactivestreams.Subscriber.onNext:(Ljava/lang/Object;)V
50: aload 5
iload 7
lload 14
lconst_1
ladd
lastore
51: iinc 8 1
iload 8
istore 17
start local 17 52: iload 17
aload 0
getfield io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.limit:I
if_icmpne 55
53: iconst_0
istore 8
54: aload 0
getfield io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.upstream:Lorg/reactivestreams/Subscription;
iload 17
i2l
invokeinterface org.reactivestreams.Subscription.request:(J)V
55: StackMap locals: int
StackMap stack:
iconst_0
istore 9
end local 17 end local 16 56: goto 58
57: StackMap locals:
StackMap stack:
iinc 9 1
58: StackMap locals:
StackMap stack:
iinc 7 1
59: iload 7
iload 6
if_icmpne 61
60: iconst_0
istore 7
61: StackMap locals:
StackMap stack:
iload 9
iload 6
if_icmpne 9
end local 14 end local 12 end local 11 end local 10 62: StackMap locals: io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher int io.reactivex.internal.fuseable.SimpleQueue org.reactivestreams.Subscriber[] java.util.concurrent.atomic.AtomicLongArray long[] int int int int
StackMap stack:
aload 0
invokevirtual io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.get:()I
istore 10
start local 10 63: iload 10
iload 1
if_icmpne 69
64: aload 0
iload 7
putfield io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.index:I
65: aload 0
iload 8
putfield io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.produced:I
66: aload 0
iload 1
ineg
invokevirtual io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.addAndGet:(I)I
istore 1
67: iload 1
ifne 8
68: goto 71
69: StackMap locals: int
StackMap stack:
iload 10
istore 1
end local 10 end local 9 70: goto 8
71: StackMap locals:
StackMap stack:
return
end local 8 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 72 0 this Lio/reactivex/internal/operators/parallel/ParallelFromPublisher$ParallelDispatcher<TT;>;
1 72 1 missed I
2 72 2 q Lio/reactivex/internal/fuseable/SimpleQueue<TT;>;
3 72 3 a [Lorg/reactivestreams/Subscriber;
4 72 4 r Ljava/util/concurrent/atomic/AtomicLongArray;
5 72 5 e [J
6 72 6 n I
7 72 7 idx I
8 72 8 consumed I
9 70 9 notReady I
13 62 10 d Z
15 23 11 ex Ljava/lang/Throwable;
19 20 12 s Lorg/reactivestreams/Subscriber<-TT;>;
24 62 11 empty Z
27 28 12 s Lorg/reactivestreams/Subscriber<-TT;>;
34 62 12 requestAtIndex J
35 62 14 emissionAtIndex J
37 38 16 v TT;
47 56 16 v TT;
39 47 17 ex Ljava/lang/Throwable;
43 44 18 s Lorg/reactivestreams/Subscriber<-TT;>;
52 56 17 c I
63 70 10 w I
Exception table:
from to target type
36 37 38 Class java.lang.Throwable
void drainSync();
descriptor: ()V
flags: (0x0000)
Code:
stack=6, locals=20, args_size=1
start local 0 0: iconst_1
istore 1
start local 1 1: aload 0
getfield io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.queue:Lio/reactivex/internal/fuseable/SimpleQueue;
astore 2
start local 2 2: aload 0
getfield io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.subscribers:[Lorg/reactivestreams/Subscriber;
astore 3
start local 3 3: aload 0
getfield io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.requests:Ljava/util/concurrent/atomic/AtomicLongArray;
astore 4
start local 4 4: aload 0
getfield io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.emissions:[J
astore 5
start local 5 5: aload 5
arraylength
istore 6
start local 6 6: aload 0
getfield io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.index:I
istore 7
start local 7 7: StackMap locals: io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher int io.reactivex.internal.fuseable.SimpleQueue org.reactivestreams.Subscriber[] java.util.concurrent.atomic.AtomicLongArray long[] int int
StackMap stack:
iconst_0
istore 8
start local 8 8: StackMap locals: int
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.cancelled:Z
ifeq 11
9: aload 2
invokeinterface io.reactivex.internal.fuseable.SimpleQueue.clear:()V
10: return
11: StackMap locals:
StackMap stack:
aload 2
invokeinterface io.reactivex.internal.fuseable.SimpleQueue.isEmpty:()Z
istore 9
start local 9 12: iload 9
ifeq 19
13: aload 3
dup
astore 13
arraylength
istore 12
iconst_0
istore 11
goto 17
StackMap locals: io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher int io.reactivex.internal.fuseable.SimpleQueue org.reactivestreams.Subscriber[] java.util.concurrent.atomic.AtomicLongArray long[] int int int int top int int org.reactivestreams.Subscriber[]
StackMap stack:
14: aload 13
iload 11
aaload
astore 10
start local 10 15: aload 10
invokeinterface org.reactivestreams.Subscriber.onComplete:()V
end local 10 16: iinc 11 1
StackMap locals:
StackMap stack:
17: iload 11
iload 12
if_icmplt 14
18: return
19: StackMap locals: io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher int io.reactivex.internal.fuseable.SimpleQueue org.reactivestreams.Subscriber[] java.util.concurrent.atomic.AtomicLongArray long[] int int int int
StackMap stack:
aload 4
iload 7
invokevirtual java.util.concurrent.atomic.AtomicLongArray.get:(I)J
lstore 10
start local 10 20: aload 5
iload 7
laload
lstore 12
start local 12 21: lload 10
lload 12
lcmp
ifeq 44
aload 4
iload 6
iload 7
iadd
invokevirtual java.util.concurrent.atomic.AtomicLongArray.get:(I)J
lconst_0
lcmp
ifne 44
22: aload 2
invokeinterface io.reactivex.internal.fuseable.SimpleQueue.poll:()Ljava/lang/Object;
astore 14
start local 14 23: goto 33
end local 14 StackMap locals: io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher int io.reactivex.internal.fuseable.SimpleQueue org.reactivestreams.Subscriber[] java.util.concurrent.atomic.AtomicLongArray long[] int int int int long long
StackMap stack: java.lang.Throwable
24: astore 15
start local 15 25: aload 15
invokestatic io.reactivex.exceptions.Exceptions.throwIfFatal:(Ljava/lang/Throwable;)V
26: aload 0
getfield io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.upstream:Lorg/reactivestreams/Subscription;
invokeinterface org.reactivestreams.Subscription.cancel:()V
27: aload 3
dup
astore 19
arraylength
istore 18
iconst_0
istore 17
goto 31
StackMap locals: io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher int io.reactivex.internal.fuseable.SimpleQueue org.reactivestreams.Subscriber[] java.util.concurrent.atomic.AtomicLongArray long[] int int int int long long top java.lang.Throwable top int int org.reactivestreams.Subscriber[]
StackMap stack:
28: aload 19
iload 17
aaload
astore 16
start local 16 29: aload 16
aload 15
invokeinterface org.reactivestreams.Subscriber.onError:(Ljava/lang/Throwable;)V
end local 16 30: iinc 17 1
StackMap locals:
StackMap stack:
31: iload 17
iload 18
if_icmplt 28
32: return
end local 15 start local 14 33: StackMap locals: io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher int io.reactivex.internal.fuseable.SimpleQueue org.reactivestreams.Subscriber[] java.util.concurrent.atomic.AtomicLongArray long[] int int int int long long java.lang.Object
StackMap stack:
aload 14
ifnonnull 40
34: aload 3
dup
astore 18
arraylength
istore 17
iconst_0
istore 16
goto 38
StackMap locals: io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher int io.reactivex.internal.fuseable.SimpleQueue org.reactivestreams.Subscriber[] java.util.concurrent.atomic.AtomicLongArray long[] int int int int long long java.lang.Object top int int org.reactivestreams.Subscriber[]
StackMap stack:
35: aload 18
iload 16
aaload
astore 15
start local 15 36: aload 15
invokeinterface org.reactivestreams.Subscriber.onComplete:()V
end local 15 37: iinc 16 1
StackMap locals:
StackMap stack:
38: iload 16
iload 17
if_icmplt 35
39: return
40: StackMap locals: io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher int io.reactivex.internal.fuseable.SimpleQueue org.reactivestreams.Subscriber[] java.util.concurrent.atomic.AtomicLongArray long[] int int int int long long java.lang.Object
StackMap stack:
aload 3
iload 7
aaload
aload 14
invokeinterface org.reactivestreams.Subscriber.onNext:(Ljava/lang/Object;)V
41: aload 5
iload 7
lload 12
lconst_1
ladd
lastore
42: iconst_0
istore 8
end local 14 43: goto 45
44: StackMap locals:
StackMap stack:
iinc 8 1
45: StackMap locals:
StackMap stack:
iinc 7 1
46: iload 7
iload 6
if_icmpne 48
47: iconst_0
istore 7
48: StackMap locals:
StackMap stack:
iload 8
iload 6
if_icmpne 8
end local 12 end local 10 end local 9 49: aload 0
invokevirtual io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.get:()I
istore 9
start local 9 50: iload 9
iload 1
if_icmpne 55
51: aload 0
iload 7
putfield io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.index:I
52: aload 0
iload 1
ineg
invokevirtual io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.addAndGet:(I)I
istore 1
53: iload 1
ifne 7
54: goto 57
55: StackMap locals: io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher int io.reactivex.internal.fuseable.SimpleQueue org.reactivestreams.Subscriber[] java.util.concurrent.atomic.AtomicLongArray long[] int int int int
StackMap stack:
iload 9
istore 1
end local 9 end local 8 56: goto 7
57: StackMap locals:
StackMap stack:
return
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 58 0 this Lio/reactivex/internal/operators/parallel/ParallelFromPublisher$ParallelDispatcher<TT;>;
1 58 1 missed I
2 58 2 q Lio/reactivex/internal/fuseable/SimpleQueue<TT;>;
3 58 3 a [Lorg/reactivestreams/Subscriber;
4 58 4 r Ljava/util/concurrent/atomic/AtomicLongArray;
5 58 5 e [J
6 58 6 n I
7 58 7 idx I
8 56 8 notReady I
12 49 9 empty Z
15 16 10 s Lorg/reactivestreams/Subscriber<-TT;>;
20 49 10 requestAtIndex J
21 49 12 emissionAtIndex J
23 24 14 v TT;
33 43 14 v TT;
25 33 15 ex Ljava/lang/Throwable;
29 30 16 s Lorg/reactivestreams/Subscriber<-TT;>;
36 37 15 s Lorg/reactivestreams/Subscriber<-TT;>;
50 56 9 w I
Exception table:
from to target type
22 23 24 Class java.lang.Throwable
void drain();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.getAndIncrement:()I
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.sourceMode:I
iconst_1
if_icmpne 5
3: aload 0
invokevirtual io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.drainSync:()V
4: goto 6
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher.drainAsync:()V
6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/reactivex/internal/operators/parallel/ParallelFromPublisher$ParallelDispatcher<TT;>;
}
Signature: <T:Ljava/lang/Object;>Ljava/util/concurrent/atomic/AtomicInteger;Lio/reactivex/FlowableSubscriber<TT;>;
SourceFile: "ParallelFromPublisher.java"
NestHost: io.reactivex.internal.operators.parallel.ParallelFromPublisher
InnerClasses:
final ParallelDispatcher = io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher of io.reactivex.internal.operators.parallel.ParallelFromPublisher
final RailSubscription = io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher$RailSubscription of io.reactivex.internal.operators.parallel.ParallelFromPublisher$ParallelDispatcher