final class io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber<T, R> extends java.util.concurrent.atomic.AtomicInteger implements io.reactivex.FlowableSubscriber<T>, org.reactivestreams.Subscription
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber
super_class: java.util.concurrent.atomic.AtomicInteger
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 8600231336733376951
final org.reactivestreams.Subscriber<? super R> downstream;
descriptor: Lorg/reactivestreams/Subscriber;
flags: (0x0010) ACC_FINAL
Signature: Lorg/reactivestreams/Subscriber<-TR;>;
final boolean delayErrors;
descriptor: Z
flags: (0x0010) ACC_FINAL
final int maxConcurrency;
descriptor: I
flags: (0x0010) ACC_FINAL
final java.util.concurrent.atomic.AtomicLong requested;
descriptor: Ljava/util/concurrent/atomic/AtomicLong;
flags: (0x0010) ACC_FINAL
final io.reactivex.disposables.CompositeDisposable set;
descriptor: Lio/reactivex/disposables/CompositeDisposable;
flags: (0x0010) ACC_FINAL
final java.util.concurrent.atomic.AtomicInteger active;
descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
flags: (0x0010) ACC_FINAL
final io.reactivex.internal.util.AtomicThrowable errors;
descriptor: Lio/reactivex/internal/util/AtomicThrowable;
flags: (0x0010) ACC_FINAL
final io.reactivex.functions.Function<? super T, ? extends io.reactivex.SingleSource<? extends R>> mapper;
descriptor: Lio/reactivex/functions/Function;
flags: (0x0010) ACC_FINAL
Signature: Lio/reactivex/functions/Function<-TT;+Lio/reactivex/SingleSource<+TR;>;>;
final java.util.concurrent.atomic.AtomicReference<io.reactivex.internal.queue.SpscLinkedArrayQueue<R>> queue;
descriptor: Ljava/util/concurrent/atomic/AtomicReference;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReference<Lio/reactivex/internal/queue/SpscLinkedArrayQueue<TR;>;>;
org.reactivestreams.Subscription upstream;
descriptor: Lorg/reactivestreams/Subscription;
flags: (0x0000)
volatile boolean cancelled;
descriptor: Z
flags: (0x0040) ACC_VOLATILE
void <init>(org.reactivestreams.Subscriber<? super R>, io.reactivex.functions.Function<? super T, ? extends io.reactivex.SingleSource<? extends R>>, boolean, );
descriptor: (Lorg/reactivestreams/Subscriber;Lio/reactivex/functions/Function;ZI)V
flags: (0x0000)
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:()V
1: aload 0
aload 1
putfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.downstream:Lorg/reactivestreams/Subscriber;
2: aload 0
aload 2
putfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.mapper:Lio/reactivex/functions/Function;
3: aload 0
iload 3
putfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.delayErrors:Z
4: aload 0
iload 4
putfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.maxConcurrency:I
5: aload 0
new java.util.concurrent.atomic.AtomicLong
dup
invokespecial java.util.concurrent.atomic.AtomicLong.<init>:()V
putfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.requested:Ljava/util/concurrent/atomic/AtomicLong;
6: aload 0
new io.reactivex.disposables.CompositeDisposable
dup
invokespecial io.reactivex.disposables.CompositeDisposable.<init>:()V
putfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.set:Lio/reactivex/disposables/CompositeDisposable;
7: aload 0
new io.reactivex.internal.util.AtomicThrowable
dup
invokespecial io.reactivex.internal.util.AtomicThrowable.<init>:()V
putfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.errors:Lio/reactivex/internal/util/AtomicThrowable;
8: aload 0
new java.util.concurrent.atomic.AtomicInteger
dup
iconst_1
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:(I)V
putfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.active:Ljava/util/concurrent/atomic/AtomicInteger;
9: aload 0
new java.util.concurrent.atomic.AtomicReference
dup
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
putfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.queue:Ljava/util/concurrent/atomic/AtomicReference;
10: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/reactivex/internal/operators/flowable/FlowableFlatMapSingle$FlatMapSingleSubscriber<TT;TR;>;
0 11 1 actual Lorg/reactivestreams/Subscriber<-TR;>;
0 11 2 mapper Lio/reactivex/functions/Function<-TT;+Lio/reactivex/SingleSource<+TR;>;>;
0 11 3 delayErrors Z
0 11 4 maxConcurrency I
Signature: (Lorg/reactivestreams/Subscriber<-TR;>;Lio/reactivex/functions/Function<-TT;+Lio/reactivex/SingleSource<+TR;>;>;ZI)V
MethodParameters:
Name Flags
actual
mapper
delayErrors
maxConcurrency
public void onSubscribe(org.reactivestreams.Subscription);
descriptor: (Lorg/reactivestreams/Subscription;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.upstream:Lorg/reactivestreams/Subscription;
aload 1
invokestatic io.reactivex.internal.subscriptions.SubscriptionHelper.validate:(Lorg/reactivestreams/Subscription;Lorg/reactivestreams/Subscription;)Z
ifeq 8
1: aload 0
aload 1
putfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.upstream:Lorg/reactivestreams/Subscription;
2: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.downstream:Lorg/reactivestreams/Subscriber;
aload 0
invokeinterface org.reactivestreams.Subscriber.onSubscribe:(Lorg/reactivestreams/Subscription;)V
3: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.maxConcurrency:I
istore 2
start local 2 4: iload 2
ldc 2147483647
if_icmpne 7
5: aload 1
ldc 9223372036854775807
invokeinterface org.reactivestreams.Subscription.request:(J)V
6: goto 8
7: StackMap locals: int
StackMap stack:
aload 1
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.maxConcurrency:I
i2l
invokeinterface org.reactivestreams.Subscription.request:(J)V
end local 2 8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/reactivex/internal/operators/flowable/FlowableFlatMapSingle$FlatMapSingleSubscriber<TT;TR;>;
0 9 1 s Lorg/reactivestreams/Subscription;
4 8 2 m I
MethodParameters:
Name Flags
s
public void onNext();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.mapper:Lio/reactivex/functions/Function;
aload 1
invokeinterface io.reactivex.functions.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.reactivex.SingleSource
ldc "The mapper returned a null SingleSource"
invokestatic io.reactivex.internal.functions.ObjectHelper.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast io.reactivex.SingleSource
astore 2
start local 2 1: goto 7
end local 2 StackMap locals:
StackMap stack: java.lang.Throwable
2: astore 3
start local 3 3: aload 3
invokestatic io.reactivex.exceptions.Exceptions.throwIfFatal:(Ljava/lang/Throwable;)V
4: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.upstream:Lorg/reactivestreams/Subscription;
invokeinterface org.reactivestreams.Subscription.cancel:()V
5: aload 0
aload 3
invokevirtual io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.onError:(Ljava/lang/Throwable;)V
6: return
end local 3 start local 2 7: StackMap locals: io.reactivex.SingleSource
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.active:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.getAndIncrement:()I
pop
8: new io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber$InnerObserver
dup
aload 0
invokespecial io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber$InnerObserver.<init>:(Lio/reactivex/internal/operators/flowable/FlowableFlatMapSingle$FlatMapSingleSubscriber;)V
astore 3
start local 3 9: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.cancelled:Z
ifne 11
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.set:Lio/reactivex/disposables/CompositeDisposable;
aload 3
invokevirtual io.reactivex.disposables.CompositeDisposable.add:(Lio/reactivex/disposables/Disposable;)Z
ifeq 11
10: aload 2
aload 3
invokeinterface io.reactivex.SingleSource.subscribe:(Lio/reactivex/SingleObserver;)V
11: StackMap locals: io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber$InnerObserver
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lio/reactivex/internal/operators/flowable/FlowableFlatMapSingle$FlatMapSingleSubscriber<TT;TR;>;
0 12 1 t TT;
1 2 2 ms Lio/reactivex/SingleSource<+TR;>;
7 12 2 ms Lio/reactivex/SingleSource<+TR;>;
3 7 3 ex Ljava/lang/Throwable;
9 12 3 inner Lio/reactivex/internal/operators/flowable/FlowableFlatMapSingle$FlatMapSingleSubscriber<TT;TR;>.InnerObserver;
Exception table:
from to target type
0 1 2 Class java.lang.Throwable
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
getfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.active:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.decrementAndGet:()I
pop
1: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.errors:Lio/reactivex/internal/util/AtomicThrowable;
aload 1
invokevirtual io.reactivex.internal.util.AtomicThrowable.addThrowable:(Ljava/lang/Throwable;)Z
ifeq 6
2: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.delayErrors:Z
ifne 4
3: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.set:Lio/reactivex/disposables/CompositeDisposable;
invokevirtual io.reactivex.disposables.CompositeDisposable.dispose:()V
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.drain:()V
5: goto 7
6: StackMap locals:
StackMap stack:
aload 1
invokestatic io.reactivex.plugins.RxJavaPlugins.onError:(Ljava/lang/Throwable;)V
7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/reactivex/internal/operators/flowable/FlowableFlatMapSingle$FlatMapSingleSubscriber<TT;TR;>;
0 8 1 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
t
public void onComplete();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.active:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.decrementAndGet:()I
pop
1: aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.drain:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/reactivex/internal/operators/flowable/FlowableFlatMapSingle$FlatMapSingleSubscriber<TT;TR;>;
public void cancel();
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.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.cancelled:Z
1: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.upstream:Lorg/reactivestreams/Subscription;
invokeinterface org.reactivestreams.Subscription.cancel:()V
2: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.set:Lio/reactivex/disposables/CompositeDisposable;
invokevirtual io.reactivex.disposables.CompositeDisposable.dispose:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/reactivex/internal/operators/flowable/FlowableFlatMapSingle$FlatMapSingleSubscriber<TT;TR;>;
public void request(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: lload 1
invokestatic io.reactivex.internal.subscriptions.SubscriptionHelper.validate:(J)Z
ifeq 3
1: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.requested:Ljava/util/concurrent/atomic/AtomicLong;
lload 1
invokestatic io.reactivex.internal.util.BackpressureHelper.add:(Ljava/util/concurrent/atomic/AtomicLong;J)J
pop2
2: aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.drain:()V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/reactivex/internal/operators/flowable/FlowableFlatMapSingle$FlatMapSingleSubscriber<TT;TR;>;
0 4 1 n J
MethodParameters:
Name Flags
n
void innerSuccess(io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber<T, R>.InnerObserver, );
descriptor: (Lio/reactivex/internal/operators/flowable/FlowableFlatMapSingle$FlatMapSingleSubscriber$InnerObserver;Ljava/lang/Object;)V
flags: (0x0000)
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.set:Lio/reactivex/disposables/CompositeDisposable;
aload 1
invokevirtual io.reactivex.disposables.CompositeDisposable.delete:(Lio/reactivex/disposables/Disposable;)Z
pop
1: aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.get:()I
ifne 28
aload 0
iconst_0
iconst_1
invokevirtual io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.compareAndSet:(II)Z
ifeq 28
2: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.active:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.decrementAndGet:()I
ifne 3
iconst_1
goto 4
StackMap locals:
StackMap stack:
3: iconst_0
StackMap locals:
StackMap stack: int
4: istore 3
start local 3 5: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.requested:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
lconst_0
lcmp
ifeq 19
6: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.downstream:Lorg/reactivestreams/Subscriber;
aload 2
invokeinterface org.reactivestreams.Subscriber.onNext:(Ljava/lang/Object;)V
7: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.queue:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast io.reactivex.internal.queue.SpscLinkedArrayQueue
astore 4
start local 4 8: iload 3
ifeq 15
aload 4
ifnull 9
aload 4
invokevirtual io.reactivex.internal.queue.SpscLinkedArrayQueue.isEmpty:()Z
ifeq 15
9: StackMap locals: int io.reactivex.internal.queue.SpscLinkedArrayQueue
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.errors:Lio/reactivex/internal/util/AtomicThrowable;
invokevirtual io.reactivex.internal.util.AtomicThrowable.terminate:()Ljava/lang/Throwable;
astore 5
start local 5 10: aload 5
ifnull 13
11: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.downstream:Lorg/reactivestreams/Subscriber;
aload 5
invokeinterface org.reactivestreams.Subscriber.onError:(Ljava/lang/Throwable;)V
12: goto 14
13: StackMap locals: java.lang.Throwable
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.downstream:Lorg/reactivestreams/Subscriber;
invokeinterface org.reactivestreams.Subscriber.onComplete:()V
14: StackMap locals:
StackMap stack:
return
end local 5 15: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.requested:Ljava/util/concurrent/atomic/AtomicLong;
lconst_1
invokestatic io.reactivex.internal.util.BackpressureHelper.produced:(Ljava/util/concurrent/atomic/AtomicLong;J)J
pop2
16: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.maxConcurrency:I
ldc 2147483647
if_icmpeq 26
17: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.upstream:Lorg/reactivestreams/Subscription;
lconst_1
invokeinterface org.reactivestreams.Subscription.request:(J)V
end local 4 18: goto 26
19: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.getOrCreateQueue:()Lio/reactivex/internal/queue/SpscLinkedArrayQueue;
astore 4
start local 4 20: aload 4
dup
astore 5
monitorenter
21: aload 4
aload 2
invokevirtual io.reactivex.internal.queue.SpscLinkedArrayQueue.offer:(Ljava/lang/Object;)Z
pop
22: aload 5
monitorexit
23: goto 26
StackMap locals: io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber$InnerObserver java.lang.Object int io.reactivex.internal.queue.SpscLinkedArrayQueue io.reactivex.internal.queue.SpscLinkedArrayQueue
StackMap stack: java.lang.Throwable
24: aload 5
monitorexit
25: athrow
end local 4 26: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.decrementAndGet:()I
ifne 38
27: return
end local 3 28: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.getOrCreateQueue:()Lio/reactivex/internal/queue/SpscLinkedArrayQueue;
astore 3
start local 3 29: aload 3
dup
astore 4
monitorenter
30: aload 3
aload 2
invokevirtual io.reactivex.internal.queue.SpscLinkedArrayQueue.offer:(Ljava/lang/Object;)Z
pop
31: aload 4
monitorexit
32: goto 35
StackMap locals: io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber$InnerObserver java.lang.Object io.reactivex.internal.queue.SpscLinkedArrayQueue io.reactivex.internal.queue.SpscLinkedArrayQueue
StackMap stack: java.lang.Throwable
33: aload 4
monitorexit
34: athrow
35: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.active:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.decrementAndGet:()I
pop
36: aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.getAndIncrement:()I
ifeq 38
37: return
end local 3 38: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.drainLoop:()V
39: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 40 0 this Lio/reactivex/internal/operators/flowable/FlowableFlatMapSingle$FlatMapSingleSubscriber<TT;TR;>;
0 40 1 inner Lio/reactivex/internal/operators/flowable/FlowableFlatMapSingle$FlatMapSingleSubscriber<TT;TR;>.InnerObserver;
0 40 2 value TR;
5 28 3 d Z
8 18 4 q Lio/reactivex/internal/queue/SpscLinkedArrayQueue<TR;>;
10 15 5 ex Ljava/lang/Throwable;
20 26 4 q Lio/reactivex/internal/queue/SpscLinkedArrayQueue<TR;>;
29 38 3 q Lio/reactivex/internal/queue/SpscLinkedArrayQueue<TR;>;
Exception table:
from to target type
21 23 24 any
24 25 24 any
30 32 33 any
33 34 33 any
Signature: (Lio/reactivex/internal/operators/flowable/FlowableFlatMapSingle$FlatMapSingleSubscriber<TT;TR;>.InnerObserver;TR;)V
MethodParameters:
Name Flags
inner
value
io.reactivex.internal.queue.SpscLinkedArrayQueue<R> getOrCreateQueue();
descriptor: ()Lio/reactivex/internal/queue/SpscLinkedArrayQueue;
flags: (0x0000)
Code:
stack=3, locals=2, args_size=1
start local 0 0: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.queue:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast io.reactivex.internal.queue.SpscLinkedArrayQueue
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
areturn
3: StackMap locals: io.reactivex.internal.queue.SpscLinkedArrayQueue
StackMap stack:
new io.reactivex.internal.queue.SpscLinkedArrayQueue
dup
invokestatic io.reactivex.Flowable.bufferSize:()I
invokespecial io.reactivex.internal.queue.SpscLinkedArrayQueue.<init>:(I)V
astore 1
4: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.queue:Ljava/util/concurrent/atomic/AtomicReference;
aconst_null
aload 1
invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 0
5: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/reactivex/internal/operators/flowable/FlowableFlatMapSingle$FlatMapSingleSubscriber<TT;TR;>;
1 6 1 current Lio/reactivex/internal/queue/SpscLinkedArrayQueue<TR;>;
Signature: ()Lio/reactivex/internal/queue/SpscLinkedArrayQueue<TR;>;
void innerError(io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber<T, R>.InnerObserver, java.lang.Throwable);
descriptor: (Lio/reactivex/internal/operators/flowable/FlowableFlatMapSingle$FlatMapSingleSubscriber$InnerObserver;Ljava/lang/Throwable;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.set:Lio/reactivex/disposables/CompositeDisposable;
aload 1
invokevirtual io.reactivex.disposables.CompositeDisposable.delete:(Lio/reactivex/disposables/Disposable;)Z
pop
1: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.errors:Lio/reactivex/internal/util/AtomicThrowable;
aload 2
invokevirtual io.reactivex.internal.util.AtomicThrowable.addThrowable:(Ljava/lang/Throwable;)Z
ifeq 11
2: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.delayErrors:Z
ifne 6
3: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.upstream:Lorg/reactivestreams/Subscription;
invokeinterface org.reactivestreams.Subscription.cancel:()V
4: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.set:Lio/reactivex/disposables/CompositeDisposable;
invokevirtual io.reactivex.disposables.CompositeDisposable.dispose:()V
5: goto 8
6: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.maxConcurrency:I
ldc 2147483647
if_icmpeq 8
7: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.upstream:Lorg/reactivestreams/Subscription;
lconst_1
invokeinterface org.reactivestreams.Subscription.request:(J)V
8: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.active:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.decrementAndGet:()I
pop
9: aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.drain:()V
10: goto 12
11: StackMap locals:
StackMap stack:
aload 2
invokestatic io.reactivex.plugins.RxJavaPlugins.onError:(Ljava/lang/Throwable;)V
12: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lio/reactivex/internal/operators/flowable/FlowableFlatMapSingle$FlatMapSingleSubscriber<TT;TR;>;
0 13 1 inner Lio/reactivex/internal/operators/flowable/FlowableFlatMapSingle$FlatMapSingleSubscriber<TT;TR;>.InnerObserver;
0 13 2 e Ljava/lang/Throwable;
Signature: (Lio/reactivex/internal/operators/flowable/FlowableFlatMapSingle$FlatMapSingleSubscriber<TT;TR;>.InnerObserver;Ljava/lang/Throwable;)V
MethodParameters:
Name Flags
inner
e
void drain();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.getAndIncrement:()I
ifne 2
1: aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.drainLoop:()V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/reactivex/internal/operators/flowable/FlowableFlatMapSingle$FlatMapSingleSubscriber<TT;TR;>;
void clear();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.queue:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast io.reactivex.internal.queue.SpscLinkedArrayQueue
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
invokevirtual io.reactivex.internal.queue.SpscLinkedArrayQueue.clear:()V
3: StackMap locals: io.reactivex.internal.queue.SpscLinkedArrayQueue
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/reactivex/internal/operators/flowable/FlowableFlatMapSingle$FlatMapSingleSubscriber<TT;TR;>;
1 4 1 q Lio/reactivex/internal/queue/SpscLinkedArrayQueue<TR;>;
void drainLoop();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=14, args_size=1
start local 0 0: iconst_1
istore 1
start local 1 1: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.downstream:Lorg/reactivestreams/Subscriber;
astore 2
start local 2 2: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.active:Ljava/util/concurrent/atomic/AtomicInteger;
astore 3
start local 3 3: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.queue:Ljava/util/concurrent/atomic/AtomicReference;
astore 4
start local 4 4: StackMap locals: io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber int org.reactivestreams.Subscriber java.util.concurrent.atomic.AtomicInteger java.util.concurrent.atomic.AtomicReference
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.requested:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
lstore 5
start local 5 5: lconst_0
lstore 7
start local 7 6: goto 38
7: StackMap locals: long long
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.cancelled:Z
ifeq 10
8: aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.clear:()V
9: return
10: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.delayErrors:Z
ifne 17
11: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.errors:Lio/reactivex/internal/util/AtomicThrowable;
invokevirtual io.reactivex.internal.util.AtomicThrowable.get:()Ljava/lang/Object;
checkcast java.lang.Throwable
astore 9
start local 9 12: aload 9
ifnull 17
13: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.errors:Lio/reactivex/internal/util/AtomicThrowable;
invokevirtual io.reactivex.internal.util.AtomicThrowable.terminate:()Ljava/lang/Throwable;
astore 9
14: aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.clear:()V
15: aload 2
aload 9
invokeinterface org.reactivestreams.Subscriber.onError:(Ljava/lang/Throwable;)V
16: return
end local 9 17: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
ifne 18
iconst_1
goto 19
StackMap locals:
StackMap stack:
18: iconst_0
StackMap locals:
StackMap stack: int
19: istore 9
start local 9 20: aload 4
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast io.reactivex.internal.queue.SpscLinkedArrayQueue
astore 10
start local 10 21: aload 10
ifnull 22
aload 10
invokevirtual io.reactivex.internal.queue.SpscLinkedArrayQueue.poll:()Ljava/lang/Object;
goto 23
StackMap locals: int io.reactivex.internal.queue.SpscLinkedArrayQueue
StackMap stack:
22: aconst_null
StackMap locals:
StackMap stack: java.lang.Object
23: astore 11
start local 11 24: aload 11
ifnonnull 25
iconst_1
goto 26
StackMap locals: java.lang.Object
StackMap stack:
25: iconst_0
StackMap locals:
StackMap stack: int
26: istore 12
start local 12 27: iload 9
ifeq 34
iload 12
ifeq 34
28: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.errors:Lio/reactivex/internal/util/AtomicThrowable;
invokevirtual io.reactivex.internal.util.AtomicThrowable.terminate:()Ljava/lang/Throwable;
astore 13
start local 13 29: aload 13
ifnull 32
30: aload 2
aload 13
invokeinterface org.reactivestreams.Subscriber.onError:(Ljava/lang/Throwable;)V
31: goto 33
32: StackMap locals: int java.lang.Throwable
StackMap stack:
aload 2
invokeinterface org.reactivestreams.Subscriber.onComplete:()V
33: StackMap locals:
StackMap stack:
return
end local 13 34: StackMap locals:
StackMap stack:
iload 12
ifeq 36
35: goto 39
36: StackMap locals:
StackMap stack:
aload 2
aload 11
invokeinterface org.reactivestreams.Subscriber.onNext:(Ljava/lang/Object;)V
37: lload 7
lconst_1
ladd
lstore 7
end local 12 end local 11 end local 10 end local 9 38: StackMap locals: io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber int org.reactivestreams.Subscriber java.util.concurrent.atomic.AtomicInteger java.util.concurrent.atomic.AtomicReference long long
StackMap stack:
lload 7
lload 5
lcmp
ifne 7
39: StackMap locals:
StackMap stack:
lload 7
lload 5
lcmp
ifne 64
40: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.cancelled:Z
ifeq 43
41: aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.clear:()V
42: return
43: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.delayErrors:Z
ifne 50
44: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.errors:Lio/reactivex/internal/util/AtomicThrowable;
invokevirtual io.reactivex.internal.util.AtomicThrowable.get:()Ljava/lang/Object;
checkcast java.lang.Throwable
astore 9
start local 9 45: aload 9
ifnull 50
46: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.errors:Lio/reactivex/internal/util/AtomicThrowable;
invokevirtual io.reactivex.internal.util.AtomicThrowable.terminate:()Ljava/lang/Throwable;
astore 9
47: aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.clear:()V
48: aload 2
aload 9
invokeinterface org.reactivestreams.Subscriber.onError:(Ljava/lang/Throwable;)V
49: return
end local 9 50: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
ifne 51
iconst_1
goto 52
StackMap locals:
StackMap stack:
51: iconst_0
StackMap locals:
StackMap stack: int
52: istore 9
start local 9 53: aload 4
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast io.reactivex.internal.queue.SpscLinkedArrayQueue
astore 10
start local 10 54: aload 10
ifnull 55
aload 10
invokevirtual io.reactivex.internal.queue.SpscLinkedArrayQueue.isEmpty:()Z
ifne 55
iconst_0
goto 56
StackMap locals: int io.reactivex.internal.queue.SpscLinkedArrayQueue
StackMap stack:
55: iconst_1
StackMap locals:
StackMap stack: int
56: istore 11
start local 11 57: iload 9
ifeq 64
iload 11
ifeq 64
58: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.errors:Lio/reactivex/internal/util/AtomicThrowable;
invokevirtual io.reactivex.internal.util.AtomicThrowable.terminate:()Ljava/lang/Throwable;
astore 12
start local 12 59: aload 12
ifnull 62
60: aload 2
aload 12
invokeinterface org.reactivestreams.Subscriber.onError:(Ljava/lang/Throwable;)V
61: goto 63
62: StackMap locals: int java.lang.Throwable
StackMap stack:
aload 2
invokeinterface org.reactivestreams.Subscriber.onComplete:()V
63: StackMap locals:
StackMap stack:
return
end local 12 end local 11 end local 10 end local 9 64: StackMap locals: io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber int org.reactivestreams.Subscriber java.util.concurrent.atomic.AtomicInteger java.util.concurrent.atomic.AtomicReference long long
StackMap stack:
lload 7
lconst_0
lcmp
ifeq 68
65: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.requested:Ljava/util/concurrent/atomic/AtomicLong;
lload 7
invokestatic io.reactivex.internal.util.BackpressureHelper.produced:(Ljava/util/concurrent/atomic/AtomicLong;J)J
pop2
66: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.maxConcurrency:I
ldc 2147483647
if_icmpeq 68
67: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.upstream:Lorg/reactivestreams/Subscription;
lload 7
invokeinterface org.reactivestreams.Subscription.request:(J)V
68: StackMap locals:
StackMap stack:
aload 0
iload 1
ineg
invokevirtual io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber.addAndGet:(I)I
istore 1
69: iload 1
ifne 4
end local 7 end local 5 70: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 71 0 this Lio/reactivex/internal/operators/flowable/FlowableFlatMapSingle$FlatMapSingleSubscriber<TT;TR;>;
1 71 1 missed I
2 71 2 a Lorg/reactivestreams/Subscriber<-TR;>;
3 71 3 n Ljava/util/concurrent/atomic/AtomicInteger;
4 71 4 qr Ljava/util/concurrent/atomic/AtomicReference<Lio/reactivex/internal/queue/SpscLinkedArrayQueue<TR;>;>;
5 70 5 r J
6 70 7 e J
12 17 9 ex Ljava/lang/Throwable;
20 38 9 d Z
21 38 10 q Lio/reactivex/internal/queue/SpscLinkedArrayQueue<TR;>;
24 38 11 v TR;
27 38 12 empty Z
29 34 13 ex Ljava/lang/Throwable;
45 50 9 ex Ljava/lang/Throwable;
53 64 9 d Z
54 64 10 q Lio/reactivex/internal/queue/SpscLinkedArrayQueue<TR;>;
57 64 11 empty Z
59 64 12 ex Ljava/lang/Throwable;
}
Signature: <T:Ljava/lang/Object;R:Ljava/lang/Object;>Ljava/util/concurrent/atomic/AtomicInteger;Lio/reactivex/FlowableSubscriber<TT;>;Lorg/reactivestreams/Subscription;
SourceFile: "FlowableFlatMapSingle.java"
NestHost: io.reactivex.internal.operators.flowable.FlowableFlatMapSingle
InnerClasses:
final FlatMapSingleSubscriber = io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber of io.reactivex.internal.operators.flowable.FlowableFlatMapSingle
final InnerObserver = io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber$InnerObserver of io.reactivex.internal.operators.flowable.FlowableFlatMapSingle$FlatMapSingleSubscriber