final class io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber<T> extends java.util.concurrent.atomic.AtomicInteger implements io.reactivex.FlowableSubscriber<T>, io.reactivex.disposables.Disposable
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber
super_class: java.util.concurrent.atomic.AtomicInteger
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -202316842419149694
static final io.reactivex.internal.operators.flowable.FlowablePublish$InnerSubscriber[] EMPTY;
descriptor: [Lio/reactivex/internal/operators/flowable/FlowablePublish$InnerSubscriber;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final io.reactivex.internal.operators.flowable.FlowablePublish$InnerSubscriber[] TERMINATED;
descriptor: [Lio/reactivex/internal/operators/flowable/FlowablePublish$InnerSubscriber;
flags: (0x0018) ACC_STATIC, ACC_FINAL
final java.util.concurrent.atomic.AtomicReference<io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber<T>> current;
descriptor: Ljava/util/concurrent/atomic/AtomicReference;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReference<Lio/reactivex/internal/operators/flowable/FlowablePublish$PublishSubscriber<TT;>;>;
final int bufferSize;
descriptor: I
flags: (0x0010) ACC_FINAL
final java.util.concurrent.atomic.AtomicReference<io.reactivex.internal.operators.flowable.FlowablePublish$InnerSubscriber<T>[]> subscribers;
descriptor: Ljava/util/concurrent/atomic/AtomicReference;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReference<[Lio/reactivex/internal/operators/flowable/FlowablePublish$InnerSubscriber<TT;>;>;
final java.util.concurrent.atomic.AtomicBoolean shouldConnect;
descriptor: Ljava/util/concurrent/atomic/AtomicBoolean;
flags: (0x0010) ACC_FINAL
final java.util.concurrent.atomic.AtomicReference<org.reactivestreams.Subscription> upstream;
descriptor: Ljava/util/concurrent/atomic/AtomicReference;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReference<Lorg/reactivestreams/Subscription;>;
volatile java.lang.Object terminalEvent;
descriptor: Ljava/lang/Object;
flags: (0x0040) ACC_VOLATILE
int sourceMode;
descriptor: I
flags: (0x0000)
volatile io.reactivex.internal.fuseable.SimpleQueue<T> queue;
descriptor: Lio/reactivex/internal/fuseable/SimpleQueue;
flags: (0x0040) ACC_VOLATILE
Signature: Lio/reactivex/internal/fuseable/SimpleQueue<TT;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_0
anewarray io.reactivex.internal.operators.flowable.FlowablePublish$InnerSubscriber
putstatic io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.EMPTY:[Lio/reactivex/internal/operators/flowable/FlowablePublish$InnerSubscriber;
1: iconst_0
anewarray io.reactivex.internal.operators.flowable.FlowablePublish$InnerSubscriber
putstatic io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.TERMINATED:[Lio/reactivex/internal/operators/flowable/FlowablePublish$InnerSubscriber;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.util.concurrent.atomic.AtomicReference<io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber<T>>, );
descriptor: (Ljava/util/concurrent/atomic/AtomicReference;I)V
flags: (0x0000)
Code:
stack=4, locals=3, 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.AtomicReference
dup
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
putfield io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.upstream:Ljava/util/concurrent/atomic/AtomicReference;
2: aload 0
new java.util.concurrent.atomic.AtomicReference
dup
getstatic io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.EMPTY:[Lio/reactivex/internal/operators/flowable/FlowablePublish$InnerSubscriber;
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:(Ljava/lang/Object;)V
putfield io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.subscribers:Ljava/util/concurrent/atomic/AtomicReference;
3: aload 0
aload 1
putfield io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.current:Ljava/util/concurrent/atomic/AtomicReference;
4: aload 0
new java.util.concurrent.atomic.AtomicBoolean
dup
invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:()V
putfield io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.shouldConnect:Ljava/util/concurrent/atomic/AtomicBoolean;
5: aload 0
iload 2
putfield io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.bufferSize:I
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/reactivex/internal/operators/flowable/FlowablePublish$PublishSubscriber<TT;>;
0 7 1 current Ljava/util/concurrent/atomic/AtomicReference<Lio/reactivex/internal/operators/flowable/FlowablePublish$PublishSubscriber<TT;>;>;
0 7 2 bufferSize I
Signature: (Ljava/util/concurrent/atomic/AtomicReference<Lio/reactivex/internal/operators/flowable/FlowablePublish$PublishSubscriber<TT;>;>;I)V
MethodParameters:
Name Flags
current
bufferSize
public void dispose();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.subscribers:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
getstatic io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.TERMINATED:[Lio/reactivex/internal/operators/flowable/FlowablePublish$InnerSubscriber;
if_acmpeq 5
1: aload 0
getfield io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.subscribers:Ljava/util/concurrent/atomic/AtomicReference;
getstatic io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.TERMINATED:[Lio/reactivex/internal/operators/flowable/FlowablePublish$InnerSubscriber;
invokevirtual java.util.concurrent.atomic.AtomicReference.getAndSet:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.reactivex.internal.operators.flowable.FlowablePublish$InnerSubscriber[]
astore 1
start local 1 2: aload 1
getstatic io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.TERMINATED:[Lio/reactivex/internal/operators/flowable/FlowablePublish$InnerSubscriber;
if_acmpeq 5
3: aload 0
getfield io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.current:Ljava/util/concurrent/atomic/AtomicReference;
aload 0
aconst_null
invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
pop
4: aload 0
getfield io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.upstream:Ljava/util/concurrent/atomic/AtomicReference;
invokestatic io.reactivex.internal.subscriptions.SubscriptionHelper.cancel:(Ljava/util/concurrent/atomic/AtomicReference;)Z
pop
end local 1 5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/reactivex/internal/operators/flowable/FlowablePublish$PublishSubscriber<TT;>;
2 5 1 ps [Lio/reactivex/internal/operators/flowable/FlowablePublish$InnerSubscriber;
public boolean isDisposed();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.subscribers:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
getstatic io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.TERMINATED:[Lio/reactivex/internal/operators/flowable/FlowablePublish$InnerSubscriber;
if_acmpne 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 Lio/reactivex/internal/operators/flowable/FlowablePublish$PublishSubscriber<TT;>;
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.flowable.FlowablePublish$PublishSubscriber.upstream:Ljava/util/concurrent/atomic/AtomicReference;
aload 1
invokestatic io.reactivex.internal.subscriptions.SubscriptionHelper.setOnce:(Ljava/util/concurrent/atomic/AtomicReference;Lorg/reactivestreams/Subscription;)Z
ifeq 17
1: aload 1
instanceof io.reactivex.internal.fuseable.QueueSubscription
ifeq 15
2: aload 1
checkcast io.reactivex.internal.fuseable.QueueSubscription
astore 2
start local 2 3: aload 2
bipush 7
invokeinterface io.reactivex.internal.fuseable.QueueSubscription.requestFusion:(I)I
istore 3
start local 3 4: iload 3
iconst_1
if_icmpne 10
5: aload 0
iload 3
putfield io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.sourceMode:I
6: aload 0
aload 2
putfield io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.queue:Lio/reactivex/internal/fuseable/SimpleQueue;
7: aload 0
invokestatic io.reactivex.internal.util.NotificationLite.complete:()Ljava/lang/Object;
putfield io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.terminalEvent:Ljava/lang/Object;
8: aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.dispatch:()V
9: return
10: StackMap locals: io.reactivex.internal.fuseable.QueueSubscription int
StackMap stack:
iload 3
iconst_2
if_icmpne 15
11: aload 0
iload 3
putfield io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.sourceMode:I
12: aload 0
aload 2
putfield io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.queue:Lio/reactivex/internal/fuseable/SimpleQueue;
13: aload 1
aload 0
getfield io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.bufferSize:I
i2l
invokeinterface org.reactivestreams.Subscription.request:(J)V
14: return
end local 3 end local 2 15: StackMap locals:
StackMap stack:
aload 0
new io.reactivex.internal.queue.SpscArrayQueue
dup
aload 0
getfield io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.bufferSize:I
invokespecial io.reactivex.internal.queue.SpscArrayQueue.<init>:(I)V
putfield io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.queue:Lio/reactivex/internal/fuseable/SimpleQueue;
16: aload 1
aload 0
getfield io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.bufferSize:I
i2l
invokeinterface org.reactivestreams.Subscription.request:(J)V
17: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lio/reactivex/internal/operators/flowable/FlowablePublish$PublishSubscriber<TT;>;
0 18 1 s Lorg/reactivestreams/Subscription;
3 15 2 qs Lio/reactivex/internal/fuseable/QueueSubscription<TT;>;
4 15 3 m I
MethodParameters:
Name Flags
s
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.flowable.FlowablePublish$PublishSubscriber.sourceMode:I
ifne 3
aload 0
getfield io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.queue:Lio/reactivex/internal/fuseable/SimpleQueue;
aload 1
invokeinterface io.reactivex.internal.fuseable.SimpleQueue.offer:(Ljava/lang/Object;)Z
ifne 3
1: aload 0
new io.reactivex.exceptions.MissingBackpressureException
dup
ldc "Prefetch queue is full?!"
invokespecial io.reactivex.exceptions.MissingBackpressureException.<init>:(Ljava/lang/String;)V
invokevirtual io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.onError:(Ljava/lang/Throwable;)V
2: return
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.dispatch:()V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/reactivex/internal/operators/flowable/FlowablePublish$PublishSubscriber<TT;>;
0 5 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
getfield io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.terminalEvent:Ljava/lang/Object;
ifnonnull 4
1: aload 0
aload 1
invokestatic io.reactivex.internal.util.NotificationLite.error:(Ljava/lang/Throwable;)Ljava/lang/Object;
putfield io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.terminalEvent:Ljava/lang/Object;
2: aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.dispatch:()V
3: goto 5
4: StackMap locals:
StackMap stack:
aload 1
invokestatic io.reactivex.plugins.RxJavaPlugins.onError:(Ljava/lang/Throwable;)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/flowable/FlowablePublish$PublishSubscriber<TT;>;
0 6 1 e Ljava/lang/Throwable;
MethodParameters:
Name Flags
e
public void onComplete();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.terminalEvent:Ljava/lang/Object;
ifnonnull 3
1: aload 0
invokestatic io.reactivex.internal.util.NotificationLite.complete:()Ljava/lang/Object;
putfield io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.terminalEvent:Ljava/lang/Object;
2: aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.dispatch:()V
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/reactivex/internal/operators/flowable/FlowablePublish$PublishSubscriber<TT;>;
boolean add(io.reactivex.internal.operators.flowable.FlowablePublish$InnerSubscriber<T>);
descriptor: (Lio/reactivex/internal/operators/flowable/FlowablePublish$InnerSubscriber;)Z
flags: (0x0000)
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.subscribers:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast io.reactivex.internal.operators.flowable.FlowablePublish$InnerSubscriber[]
astore 2
start local 2 1: aload 2
getstatic io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.TERMINATED:[Lio/reactivex/internal/operators/flowable/FlowablePublish$InnerSubscriber;
if_acmpne 3
2: iconst_0
ireturn
3: StackMap locals: io.reactivex.internal.operators.flowable.FlowablePublish$InnerSubscriber[]
StackMap stack:
aload 2
arraylength
istore 3
start local 3 4: iload 3
iconst_1
iadd
anewarray io.reactivex.internal.operators.flowable.FlowablePublish$InnerSubscriber
astore 4
start local 4 5: aload 2
iconst_0
aload 4
iconst_0
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
6: aload 4
iload 3
aload 1
aastore
7: aload 0
getfield io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.subscribers:Ljava/util/concurrent/atomic/AtomicReference;
aload 2
aload 4
invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 0
8: iconst_1
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/reactivex/internal/operators/flowable/FlowablePublish$PublishSubscriber<TT;>;
0 9 1 producer Lio/reactivex/internal/operators/flowable/FlowablePublish$InnerSubscriber<TT;>;
1 9 2 c [Lio/reactivex/internal/operators/flowable/FlowablePublish$InnerSubscriber;
4 9 3 len I
5 9 4 u [Lio/reactivex/internal/operators/flowable/FlowablePublish$InnerSubscriber;
Signature: (Lio/reactivex/internal/operators/flowable/FlowablePublish$InnerSubscriber<TT;>;)Z
MethodParameters:
Name Flags
producer
void remove(io.reactivex.internal.operators.flowable.FlowablePublish$InnerSubscriber<T>);
descriptor: (Lio/reactivex/internal/operators/flowable/FlowablePublish$InnerSubscriber;)V
flags: (0x0000)
Code:
stack=6, locals=6, args_size=2
start local 0 start local 1 0: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.subscribers:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast io.reactivex.internal.operators.flowable.FlowablePublish$InnerSubscriber[]
astore 2
start local 2 1: aload 2
arraylength
istore 3
start local 3 2: iload 3
ifne 4
3: goto 21
4: StackMap locals: io.reactivex.internal.operators.flowable.FlowablePublish$InnerSubscriber[] int
StackMap stack:
iconst_m1
istore 4
start local 4 5: iconst_0
istore 5
start local 5 6: goto 11
7: StackMap locals: int int
StackMap stack:
aload 2
iload 5
aaload
aload 1
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 10
8: iload 5
istore 4
9: goto 12
10: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
11: iload 5
iload 3
if_icmplt 7
end local 5 12: StackMap locals:
StackMap stack:
iload 4
ifge 14
13: return
14: StackMap locals:
StackMap stack:
iload 3
iconst_1
if_icmpne 17
15: getstatic io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.EMPTY:[Lio/reactivex/internal/operators/flowable/FlowablePublish$InnerSubscriber;
astore 5
start local 5 16: goto 20
end local 5 17: StackMap locals:
StackMap stack:
iload 3
iconst_1
isub
anewarray io.reactivex.internal.operators.flowable.FlowablePublish$InnerSubscriber
astore 5
start local 5 18: aload 2
iconst_0
aload 5
iconst_0
iload 4
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
19: aload 2
iload 4
iconst_1
iadd
aload 5
iload 4
iload 3
iload 4
isub
iconst_1
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
20: StackMap locals: io.reactivex.internal.operators.flowable.FlowablePublish$InnerSubscriber[]
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.subscribers:Ljava/util/concurrent/atomic/AtomicReference;
aload 2
aload 5
invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 0
end local 5 end local 4 end local 3 end local 2 21: StackMap locals: io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber io.reactivex.internal.operators.flowable.FlowablePublish$InnerSubscriber
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lio/reactivex/internal/operators/flowable/FlowablePublish$PublishSubscriber<TT;>;
0 22 1 producer Lio/reactivex/internal/operators/flowable/FlowablePublish$InnerSubscriber<TT;>;
1 21 2 c [Lio/reactivex/internal/operators/flowable/FlowablePublish$InnerSubscriber;
2 21 3 len I
5 21 4 j I
6 12 5 i I
16 17 5 u [Lio/reactivex/internal/operators/flowable/FlowablePublish$InnerSubscriber;
18 21 5 u [Lio/reactivex/internal/operators/flowable/FlowablePublish$InnerSubscriber;
Signature: (Lio/reactivex/internal/operators/flowable/FlowablePublish$InnerSubscriber<TT;>;)V
MethodParameters:
Name Flags
producer
boolean checkTerminated(java.lang.Object, boolean);
descriptor: (Ljava/lang/Object;Z)Z
flags: (0x0000)
Code:
stack=3, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 22
1: aload 1
invokestatic io.reactivex.internal.util.NotificationLite.isComplete:(Ljava/lang/Object;)Z
ifeq 10
2: iload 2
ifeq 22
3: aload 0
getfield io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.current:Ljava/util/concurrent/atomic/AtomicReference;
aload 0
aconst_null
invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
pop
4: aload 0
getfield io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.subscribers:Ljava/util/concurrent/atomic/AtomicReference;
getstatic io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.TERMINATED:[Lio/reactivex/internal/operators/flowable/FlowablePublish$InnerSubscriber;
invokevirtual java.util.concurrent.atomic.AtomicReference.getAndSet:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.reactivex.internal.operators.flowable.FlowablePublish$InnerSubscriber[]
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 8
StackMap locals: io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber java.lang.Object int top int int io.reactivex.internal.operators.flowable.FlowablePublish$InnerSubscriber[]
StackMap stack:
5: aload 6
iload 4
aaload
astore 3
start local 3 6: aload 3
getfield io.reactivex.internal.operators.flowable.FlowablePublish$InnerSubscriber.child:Lorg/reactivestreams/Subscriber;
invokeinterface org.reactivestreams.Subscriber.onComplete:()V
end local 3 7: iinc 4 1
StackMap locals:
StackMap stack:
8: iload 4
iload 5
if_icmplt 5
9: iconst_1
ireturn
10: StackMap locals: io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber java.lang.Object int
StackMap stack:
aload 1
invokestatic io.reactivex.internal.util.NotificationLite.getError:(Ljava/lang/Object;)Ljava/lang/Throwable;
astore 3
start local 3 11: aload 0
getfield io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.current:Ljava/util/concurrent/atomic/AtomicReference;
aload 0
aconst_null
invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
pop
12: aload 0
getfield io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.subscribers:Ljava/util/concurrent/atomic/AtomicReference;
getstatic io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.TERMINATED:[Lio/reactivex/internal/operators/flowable/FlowablePublish$InnerSubscriber;
invokevirtual java.util.concurrent.atomic.AtomicReference.getAndSet:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.reactivex.internal.operators.flowable.FlowablePublish$InnerSubscriber[]
astore 4
start local 4 13: aload 4
arraylength
ifeq 20
14: aload 4
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 18
StackMap locals: io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber java.lang.Object int java.lang.Throwable io.reactivex.internal.operators.flowable.FlowablePublish$InnerSubscriber[] top int int io.reactivex.internal.operators.flowable.FlowablePublish$InnerSubscriber[]
StackMap stack:
15: aload 8
iload 6
aaload
astore 5
start local 5 16: aload 5
getfield io.reactivex.internal.operators.flowable.FlowablePublish$InnerSubscriber.child:Lorg/reactivestreams/Subscriber;
aload 3
invokeinterface org.reactivestreams.Subscriber.onError:(Ljava/lang/Throwable;)V
end local 5 17: iinc 6 1
StackMap locals:
StackMap stack:
18: iload 6
iload 7
if_icmplt 15
19: goto 21
20: StackMap locals: io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber java.lang.Object int java.lang.Throwable io.reactivex.internal.operators.flowable.FlowablePublish$InnerSubscriber[]
StackMap stack:
aload 3
invokestatic io.reactivex.plugins.RxJavaPlugins.onError:(Ljava/lang/Throwable;)V
21: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 4 end local 3 22: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lio/reactivex/internal/operators/flowable/FlowablePublish$PublishSubscriber<TT;>;
0 23 1 term Ljava/lang/Object;
0 23 2 empty Z
6 7 3 ip Lio/reactivex/internal/operators/flowable/FlowablePublish$InnerSubscriber<*>;
11 22 3 t Ljava/lang/Throwable;
13 22 4 a [Lio/reactivex/internal/operators/flowable/FlowablePublish$InnerSubscriber;
16 17 5 ip Lio/reactivex/internal/operators/flowable/FlowablePublish$InnerSubscriber<*>;
MethodParameters:
Name Flags
term
empty
void dispatch();
descriptor: ()V
flags: (0x0000)
Code:
stack=6, locals=21, args_size=1
start local 0 0: aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.getAndIncrement:()I
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
iconst_1
istore 1
start local 1 3: aload 0
getfield io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.subscribers:Ljava/util/concurrent/atomic/AtomicReference;
astore 2
start local 2 4: aload 2
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast io.reactivex.internal.operators.flowable.FlowablePublish$InnerSubscriber[]
astore 3
start local 3 5: StackMap locals: int java.util.concurrent.atomic.AtomicReference io.reactivex.internal.operators.flowable.FlowablePublish$InnerSubscriber[]
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.terminalEvent:Ljava/lang/Object;
astore 4
start local 4 6: aload 0
getfield io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.queue:Lio/reactivex/internal/fuseable/SimpleQueue;
astore 5
start local 5 7: aload 5
ifnull 8
aload 5
invokeinterface io.reactivex.internal.fuseable.SimpleQueue.isEmpty:()Z
ifne 8
iconst_0
goto 9
StackMap locals: java.lang.Object io.reactivex.internal.fuseable.SimpleQueue
StackMap stack:
8: iconst_1
StackMap locals:
StackMap stack: int
9: istore 6
start local 6 10: aload 0
aload 4
iload 6
invokevirtual io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.checkTerminated:(Ljava/lang/Object;Z)Z
ifeq 12
11: return
12: StackMap locals: int
StackMap stack:
iload 6
ifne 87
13: aload 3
arraylength
istore 7
start local 7 14: ldc 9223372036854775807
lstore 8
start local 8 15: iconst_0
istore 10
start local 10 16: aload 3
dup
astore 14
arraylength
istore 13
iconst_0
istore 12
goto 24
StackMap locals: io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber int java.util.concurrent.atomic.AtomicReference io.reactivex.internal.operators.flowable.FlowablePublish$InnerSubscriber[] java.lang.Object io.reactivex.internal.fuseable.SimpleQueue int int long int top int int io.reactivex.internal.operators.flowable.FlowablePublish$InnerSubscriber[]
StackMap stack:
17: aload 14
iload 12
aaload
astore 11
start local 11 18: aload 11
invokevirtual io.reactivex.internal.operators.flowable.FlowablePublish$InnerSubscriber.get:()J
lstore 15
start local 15 19: lload 15
ldc -9223372036854775808
lcmp
ifeq 22
20: lload 8
lload 15
aload 11
getfield io.reactivex.internal.operators.flowable.FlowablePublish$InnerSubscriber.emitted:J
lsub
invokestatic java.lang.Math.min:(JJ)J
lstore 8
21: goto 23
22: StackMap locals: io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber int java.util.concurrent.atomic.AtomicReference io.reactivex.internal.operators.flowable.FlowablePublish$InnerSubscriber[] java.lang.Object io.reactivex.internal.fuseable.SimpleQueue int int long int io.reactivex.internal.operators.flowable.FlowablePublish$InnerSubscriber int int io.reactivex.internal.operators.flowable.FlowablePublish$InnerSubscriber[] long
StackMap stack:
iinc 10 1
end local 15 end local 11 23: StackMap locals: io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber int java.util.concurrent.atomic.AtomicReference io.reactivex.internal.operators.flowable.FlowablePublish$InnerSubscriber[] java.lang.Object io.reactivex.internal.fuseable.SimpleQueue int int long int top int int io.reactivex.internal.operators.flowable.FlowablePublish$InnerSubscriber[]
StackMap stack:
iinc 12 1
StackMap locals:
StackMap stack:
24: iload 12
iload 13
if_icmplt 17
25: iload 7
iload 10
if_icmpne 42
26: aload 0
getfield io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.terminalEvent:Ljava/lang/Object;
astore 4
27: aload 5
invokeinterface io.reactivex.internal.fuseable.SimpleQueue.poll:()Ljava/lang/Object;
astore 11
start local 11 28: goto 35
end local 11 StackMap locals: io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber int java.util.concurrent.atomic.AtomicReference io.reactivex.internal.operators.flowable.FlowablePublish$InnerSubscriber[] java.lang.Object io.reactivex.internal.fuseable.SimpleQueue int int long int
StackMap stack: java.lang.Throwable
29: astore 12
start local 12 30: aload 12
invokestatic io.reactivex.exceptions.Exceptions.throwIfFatal:(Ljava/lang/Throwable;)V
31: aload 0
getfield io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.upstream:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast org.reactivestreams.Subscription
invokeinterface org.reactivestreams.Subscription.cancel:()V
32: aload 12
invokestatic io.reactivex.internal.util.NotificationLite.error:(Ljava/lang/Throwable;)Ljava/lang/Object;
astore 4
33: aload 0
aload 4
putfield io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.terminalEvent:Ljava/lang/Object;
34: aconst_null
astore 11
end local 12 start local 11 35: StackMap locals: java.lang.Object
StackMap stack:
aload 0
aload 4
aload 11
ifnonnull 36
iconst_1
goto 37
StackMap locals: io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber int java.util.concurrent.atomic.AtomicReference io.reactivex.internal.operators.flowable.FlowablePublish$InnerSubscriber[] java.lang.Object io.reactivex.internal.fuseable.SimpleQueue int int long int java.lang.Object
StackMap stack: io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber java.lang.Object
36: iconst_0
StackMap locals: io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber int java.util.concurrent.atomic.AtomicReference io.reactivex.internal.operators.flowable.FlowablePublish$InnerSubscriber[] java.lang.Object io.reactivex.internal.fuseable.SimpleQueue int int long int java.lang.Object
StackMap stack: io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber java.lang.Object int
37: invokevirtual io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.checkTerminated:(Ljava/lang/Object;Z)Z
ifeq 39
38: return
39: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.sourceMode:I
iconst_1
if_icmpeq 5
40: aload 0
getfield io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.upstream:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast org.reactivestreams.Subscription
lconst_1
invokeinterface org.reactivestreams.Subscription.request:(J)V
41: goto 5
end local 11 42: StackMap locals:
StackMap stack:
iconst_0
istore 11
start local 11 43: goto 81
44: StackMap locals: int
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.terminalEvent:Ljava/lang/Object;
astore 4
45: aload 5
invokeinterface io.reactivex.internal.fuseable.SimpleQueue.poll:()Ljava/lang/Object;
astore 12
start local 12 46: goto 53
end local 12 StackMap locals:
StackMap stack: java.lang.Throwable
47: astore 13
start local 13 48: aload 13
invokestatic io.reactivex.exceptions.Exceptions.throwIfFatal:(Ljava/lang/Throwable;)V
49: aload 0
getfield io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.upstream:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast org.reactivestreams.Subscription
invokeinterface org.reactivestreams.Subscription.cancel:()V
50: aload 13
invokestatic io.reactivex.internal.util.NotificationLite.error:(Ljava/lang/Throwable;)Ljava/lang/Object;
astore 4
51: aload 0
aload 4
putfield io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.terminalEvent:Ljava/lang/Object;
52: aconst_null
astore 12
end local 13 start local 12 53: StackMap locals: java.lang.Object
StackMap stack:
aload 12
ifnonnull 54
iconst_1
goto 55
StackMap locals:
StackMap stack:
54: iconst_0
StackMap locals:
StackMap stack: int
55: istore 6
56: aload 0
aload 4
iload 6
invokevirtual io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.checkTerminated:(Ljava/lang/Object;Z)Z
ifeq 58
57: return
58: StackMap locals:
StackMap stack:
iload 6
ifeq 60
59: goto 82
60: StackMap locals:
StackMap stack:
aload 12
invokestatic io.reactivex.internal.util.NotificationLite.getValue:(Ljava/lang/Object;)Ljava/lang/Object;
astore 13
start local 13 61: iconst_0
istore 14
start local 14 62: aload 3
dup
astore 18
arraylength
istore 17
iconst_0
istore 16
goto 72
StackMap locals: io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber int java.util.concurrent.atomic.AtomicReference io.reactivex.internal.operators.flowable.FlowablePublish$InnerSubscriber[] java.lang.Object io.reactivex.internal.fuseable.SimpleQueue int int long int int java.lang.Object java.lang.Object int top int int io.reactivex.internal.operators.flowable.FlowablePublish$InnerSubscriber[]
StackMap stack:
63: aload 18
iload 16
aaload
astore 15
start local 15 64: aload 15
invokevirtual io.reactivex.internal.operators.flowable.FlowablePublish$InnerSubscriber.get:()J
lstore 19
start local 19 65: lload 19
ldc -9223372036854775808
lcmp
ifeq 70
66: lload 19
ldc 9223372036854775807
lcmp
ifeq 68
67: aload 15
dup
getfield io.reactivex.internal.operators.flowable.FlowablePublish$InnerSubscriber.emitted:J
lconst_1
ladd
putfield io.reactivex.internal.operators.flowable.FlowablePublish$InnerSubscriber.emitted:J
68: StackMap locals: io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber int java.util.concurrent.atomic.AtomicReference io.reactivex.internal.operators.flowable.FlowablePublish$InnerSubscriber[] java.lang.Object io.reactivex.internal.fuseable.SimpleQueue int int long int int java.lang.Object java.lang.Object int io.reactivex.internal.operators.flowable.FlowablePublish$InnerSubscriber int int io.reactivex.internal.operators.flowable.FlowablePublish$InnerSubscriber[] long
StackMap stack:
aload 15
getfield io.reactivex.internal.operators.flowable.FlowablePublish$InnerSubscriber.child:Lorg/reactivestreams/Subscriber;
aload 13
invokeinterface org.reactivestreams.Subscriber.onNext:(Ljava/lang/Object;)V
69: goto 71
70: StackMap locals:
StackMap stack:
iconst_1
istore 14
end local 19 end local 15 71: StackMap locals: io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber int java.util.concurrent.atomic.AtomicReference io.reactivex.internal.operators.flowable.FlowablePublish$InnerSubscriber[] java.lang.Object io.reactivex.internal.fuseable.SimpleQueue int int long int int java.lang.Object java.lang.Object int top int int io.reactivex.internal.operators.flowable.FlowablePublish$InnerSubscriber[]
StackMap stack:
iinc 16 1
StackMap locals:
StackMap stack:
72: iload 16
iload 17
if_icmplt 63
73: iinc 11 1
74: aload 2
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast io.reactivex.internal.operators.flowable.FlowablePublish$InnerSubscriber[]
astore 15
start local 15 75: iload 14
ifne 76
aload 15
aload 3
if_acmpeq 81
76: StackMap locals: io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber int java.util.concurrent.atomic.AtomicReference io.reactivex.internal.operators.flowable.FlowablePublish$InnerSubscriber[] java.lang.Object io.reactivex.internal.fuseable.SimpleQueue int int long int int java.lang.Object java.lang.Object int io.reactivex.internal.operators.flowable.FlowablePublish$InnerSubscriber[]
StackMap stack:
aload 15
astore 3
77: iload 11
ifeq 5
78: aload 0
getfield io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.sourceMode:I
iconst_1
if_icmpeq 5
79: aload 0
getfield io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.upstream:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast org.reactivestreams.Subscription
iload 11
i2l
invokeinterface org.reactivestreams.Subscription.request:(J)V
80: goto 5
end local 15 end local 14 end local 13 end local 12 81: StackMap locals: io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber int java.util.concurrent.atomic.AtomicReference io.reactivex.internal.operators.flowable.FlowablePublish$InnerSubscriber[] java.lang.Object io.reactivex.internal.fuseable.SimpleQueue int int long int int
StackMap stack:
iload 11
i2l
lload 8
lcmp
iflt 44
82: StackMap locals:
StackMap stack:
iload 11
ifeq 85
83: aload 0
getfield io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.sourceMode:I
iconst_1
if_icmpeq 85
84: aload 0
getfield io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.upstream:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast org.reactivestreams.Subscription
iload 11
i2l
invokeinterface org.reactivestreams.Subscription.request:(J)V
85: StackMap locals:
StackMap stack:
lload 8
lconst_0
lcmp
ifeq 87
iload 6
ifne 87
86: goto 5
end local 11 end local 10 end local 8 end local 7 87: StackMap locals: io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber int java.util.concurrent.atomic.AtomicReference io.reactivex.internal.operators.flowable.FlowablePublish$InnerSubscriber[] java.lang.Object io.reactivex.internal.fuseable.SimpleQueue int
StackMap stack:
aload 0
iload 1
ineg
invokevirtual io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.addAndGet:(I)I
istore 1
88: iload 1
ifne 90
89: goto 92
90: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast io.reactivex.internal.operators.flowable.FlowablePublish$InnerSubscriber[]
astore 3
end local 6 end local 5 end local 4 91: goto 5
92: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 93 0 this Lio/reactivex/internal/operators/flowable/FlowablePublish$PublishSubscriber<TT;>;
3 93 1 missed I
4 93 2 subscribers Ljava/util/concurrent/atomic/AtomicReference<[Lio/reactivex/internal/operators/flowable/FlowablePublish$InnerSubscriber<TT;>;>;
5 93 3 ps [Lio/reactivex/internal/operators/flowable/FlowablePublish$InnerSubscriber;
6 91 4 term Ljava/lang/Object;
7 91 5 q Lio/reactivex/internal/fuseable/SimpleQueue<TT;>;
10 91 6 empty Z
14 87 7 len I
15 87 8 maxRequested J
16 87 10 cancelled I
18 23 11 ip Lio/reactivex/internal/operators/flowable/FlowablePublish$InnerSubscriber<TT;>;
19 23 15 r J
28 29 11 v TT;
35 42 11 v TT;
30 35 12 ex Ljava/lang/Throwable;
43 87 11 d I
46 47 12 v TT;
53 81 12 v TT;
48 53 13 ex Ljava/lang/Throwable;
61 81 13 value TT;
62 81 14 subscribersChanged Z
64 71 15 ip Lio/reactivex/internal/operators/flowable/FlowablePublish$InnerSubscriber<TT;>;
65 71 19 ipr J
75 81 15 freshArray [Lio/reactivex/internal/operators/flowable/FlowablePublish$InnerSubscriber;
Exception table:
from to target type
27 28 29 Class java.lang.Throwable
45 46 47 Class java.lang.Throwable
}
Signature: <T:Ljava/lang/Object;>Ljava/util/concurrent/atomic/AtomicInteger;Lio/reactivex/FlowableSubscriber<TT;>;Lio/reactivex/disposables/Disposable;
SourceFile: "FlowablePublish.java"
NestHost: io.reactivex.internal.operators.flowable.FlowablePublish
InnerClasses:
final InnerSubscriber = io.reactivex.internal.operators.flowable.FlowablePublish$InnerSubscriber of io.reactivex.internal.operators.flowable.FlowablePublish
final PublishSubscriber = io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber of io.reactivex.internal.operators.flowable.FlowablePublish