final class io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber<T, B, V> extends io.reactivex.internal.subscribers.QueueDrainSubscriber<T, java.lang.Object, io.reactivex.Flowable<T>> implements org.reactivestreams.Subscription
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber
super_class: io.reactivex.internal.subscribers.QueueDrainSubscriber
{
final org.reactivestreams.Publisher<B> open;
descriptor: Lorg/reactivestreams/Publisher;
flags: (0x0010) ACC_FINAL
Signature: Lorg/reactivestreams/Publisher<TB;>;
final io.reactivex.functions.Function<? super B, ? extends org.reactivestreams.Publisher<V>> close;
descriptor: Lio/reactivex/functions/Function;
flags: (0x0010) ACC_FINAL
Signature: Lio/reactivex/functions/Function<-TB;+Lorg/reactivestreams/Publisher<TV;>;>;
final int bufferSize;
descriptor: I
flags: (0x0010) ACC_FINAL
final io.reactivex.disposables.CompositeDisposable resources;
descriptor: Lio/reactivex/disposables/CompositeDisposable;
flags: (0x0010) ACC_FINAL
org.reactivestreams.Subscription upstream;
descriptor: Lorg/reactivestreams/Subscription;
flags: (0x0000)
final java.util.concurrent.atomic.AtomicReference<io.reactivex.disposables.Disposable> boundary;
descriptor: Ljava/util/concurrent/atomic/AtomicReference;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReference<Lio/reactivex/disposables/Disposable;>;
final java.util.List<io.reactivex.processors.UnicastProcessor<T>> ws;
descriptor: Ljava/util/List;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/List<Lio/reactivex/processors/UnicastProcessor<TT;>;>;
final java.util.concurrent.atomic.AtomicLong windows;
descriptor: Ljava/util/concurrent/atomic/AtomicLong;
flags: (0x0010) ACC_FINAL
final java.util.concurrent.atomic.AtomicBoolean stopWindows;
descriptor: Ljava/util/concurrent/atomic/AtomicBoolean;
flags: (0x0010) ACC_FINAL
void <init>(org.reactivestreams.Subscriber<? super io.reactivex.Flowable<T>>, org.reactivestreams.Publisher<B>, io.reactivex.functions.Function<? super B, ? extends org.reactivestreams.Publisher<V>>, );
descriptor: (Lorg/reactivestreams/Subscriber;Lorg/reactivestreams/Publisher;Lio/reactivex/functions/Function;I)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
aload 1
new io.reactivex.internal.queue.MpscLinkedQueue
dup
invokespecial io.reactivex.internal.queue.MpscLinkedQueue.<init>:()V
invokespecial io.reactivex.internal.subscribers.QueueDrainSubscriber.<init>:(Lorg/reactivestreams/Subscriber;Lio/reactivex/internal/fuseable/SimplePlainQueue;)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.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.boundary:Ljava/util/concurrent/atomic/AtomicReference;
2: aload 0
new java.util.concurrent.atomic.AtomicLong
dup
invokespecial java.util.concurrent.atomic.AtomicLong.<init>:()V
putfield io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.windows:Ljava/util/concurrent/atomic/AtomicLong;
3: aload 0
new java.util.concurrent.atomic.AtomicBoolean
dup
invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:()V
putfield io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.stopWindows:Ljava/util/concurrent/atomic/AtomicBoolean;
4: aload 0
aload 2
putfield io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.open:Lorg/reactivestreams/Publisher;
5: aload 0
aload 3
putfield io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.close:Lio/reactivex/functions/Function;
6: aload 0
iload 4
putfield io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.bufferSize:I
7: aload 0
new io.reactivex.disposables.CompositeDisposable
dup
invokespecial io.reactivex.disposables.CompositeDisposable.<init>:()V
putfield io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.resources:Lio/reactivex/disposables/CompositeDisposable;
8: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.ws:Ljava/util/List;
9: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.windows:Ljava/util/concurrent/atomic/AtomicLong;
lconst_1
invokevirtual java.util.concurrent.atomic.AtomicLong.lazySet:(J)V
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/FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber<TT;TB;TV;>;
0 11 1 actual Lorg/reactivestreams/Subscriber<-Lio/reactivex/Flowable<TT;>;>;
0 11 2 open Lorg/reactivestreams/Publisher<TB;>;
0 11 3 close Lio/reactivex/functions/Function<-TB;+Lorg/reactivestreams/Publisher<TV;>;>;
0 11 4 bufferSize I
Signature: (Lorg/reactivestreams/Subscriber<-Lio/reactivex/Flowable<TT;>;>;Lorg/reactivestreams/Publisher<TB;>;Lio/reactivex/functions/Function<-TB;+Lorg/reactivestreams/Publisher<TV;>;>;I)V
MethodParameters:
Name Flags
actual
open
close
bufferSize
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.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.upstream:Lorg/reactivestreams/Subscription;
aload 1
invokestatic io.reactivex.internal.subscriptions.SubscriptionHelper.validate:(Lorg/reactivestreams/Subscription;Lorg/reactivestreams/Subscription;)Z
ifeq 9
1: aload 0
aload 1
putfield io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.upstream:Lorg/reactivestreams/Subscription;
2: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.downstream:Lorg/reactivestreams/Subscriber;
aload 0
invokeinterface org.reactivestreams.Subscriber.onSubscribe:(Lorg/reactivestreams/Subscription;)V
3: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.stopWindows:Ljava/util/concurrent/atomic/AtomicBoolean;
invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
ifeq 5
4: return
5: StackMap locals:
StackMap stack:
new io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$OperatorWindowBoundaryOpenSubscriber
dup
aload 0
invokespecial io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$OperatorWindowBoundaryOpenSubscriber.<init>:(Lio/reactivex/internal/operators/flowable/FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber;)V
astore 2
start local 2 6: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.boundary:Ljava/util/concurrent/atomic/AtomicReference;
aconst_null
aload 2
invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 9
7: aload 1
ldc 9223372036854775807
invokeinterface org.reactivestreams.Subscription.request:(J)V
8: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.open:Lorg/reactivestreams/Publisher;
aload 2
invokeinterface org.reactivestreams.Publisher.subscribe:(Lorg/reactivestreams/Subscriber;)V
end local 2 9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/reactivex/internal/operators/flowable/FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber<TT;TB;TV;>;
0 10 1 s Lorg/reactivestreams/Subscription;
6 9 2 os Lio/reactivex/internal/operators/flowable/FlowableWindowBoundarySelector$OperatorWindowBoundaryOpenSubscriber<TT;TB;>;
MethodParameters:
Name Flags
s
public void onNext();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.done:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.fastEnter:()Z
ifeq 9
3: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.ws:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 6
StackMap locals: io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber java.lang.Object top java.util.Iterator
StackMap stack:
4: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.reactivex.processors.UnicastProcessor
astore 2
start local 2 5: aload 2
aload 1
invokevirtual io.reactivex.processors.UnicastProcessor.onNext:(Ljava/lang/Object;)V
end local 2 6: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: aload 0
iconst_m1
invokevirtual io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.leave:(I)I
ifne 12
8: return
9: StackMap locals: io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber java.lang.Object
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.queue:Lio/reactivex/internal/fuseable/SimplePlainQueue;
aload 1
invokestatic io.reactivex.internal.util.NotificationLite.next:(Ljava/lang/Object;)Ljava/lang/Object;
invokeinterface io.reactivex.internal.fuseable.SimplePlainQueue.offer:(Ljava/lang/Object;)Z
pop
10: aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.enter:()Z
ifne 12
11: return
12: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.drainLoop:()V
13: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lio/reactivex/internal/operators/flowable/FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber<TT;TB;TV;>;
0 14 1 t TT;
5 6 2 w Lio/reactivex/processors/UnicastProcessor<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=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.done:Z
ifeq 3
1: aload 1
invokestatic io.reactivex.plugins.RxJavaPlugins.onError:(Ljava/lang/Throwable;)V
2: return
3: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.error:Ljava/lang/Throwable;
4: aload 0
iconst_1
putfield io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.done:Z
5: aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.enter:()Z
ifeq 7
6: aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.drainLoop:()V
7: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.windows:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.decrementAndGet:()J
lconst_0
lcmp
ifne 9
8: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.resources:Lio/reactivex/disposables/CompositeDisposable;
invokevirtual io.reactivex.disposables.CompositeDisposable.dispose:()V
9: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.downstream:Lorg/reactivestreams/Subscriber;
aload 1
invokeinterface org.reactivestreams.Subscriber.onError:(Ljava/lang/Throwable;)V
10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/reactivex/internal/operators/flowable/FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber<TT;TB;TV;>;
0 11 1 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
t
public void onComplete();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.done:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.done:Z
3: aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.enter:()Z
ifeq 5
4: aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.drainLoop:()V
5: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.windows:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.decrementAndGet:()J
lconst_0
lcmp
ifne 7
6: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.resources:Lio/reactivex/disposables/CompositeDisposable;
invokevirtual io.reactivex.disposables.CompositeDisposable.dispose:()V
7: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.downstream:Lorg/reactivestreams/Subscriber;
invokeinterface org.reactivestreams.Subscriber.onComplete:()V
8: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/reactivex/internal/operators/flowable/FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber<TT;TB;TV;>;
void error(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.upstream:Lorg/reactivestreams/Subscription;
invokeinterface org.reactivestreams.Subscription.cancel:()V
1: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.resources:Lio/reactivex/disposables/CompositeDisposable;
invokevirtual io.reactivex.disposables.CompositeDisposable.dispose:()V
2: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.boundary:Ljava/util/concurrent/atomic/AtomicReference;
invokestatic io.reactivex.internal.disposables.DisposableHelper.dispose:(Ljava/util/concurrent/atomic/AtomicReference;)Z
pop
3: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.downstream:Lorg/reactivestreams/Subscriber;
aload 1
invokeinterface org.reactivestreams.Subscriber.onError:(Ljava/lang/Throwable;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/reactivex/internal/operators/flowable/FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber<TT;TB;TV;>;
0 5 1 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
t
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: aload 0
lload 1
invokevirtual io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.requested:(J)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/reactivex/internal/operators/flowable/FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber<TT;TB;TV;>;
0 2 1 n J
MethodParameters:
Name Flags
n
public void cancel();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.stopWindows:Ljava/util/concurrent/atomic/AtomicBoolean;
iconst_0
iconst_1
invokevirtual java.util.concurrent.atomic.AtomicBoolean.compareAndSet:(ZZ)Z
ifeq 4
1: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.boundary:Ljava/util/concurrent/atomic/AtomicReference;
invokestatic io.reactivex.internal.disposables.DisposableHelper.dispose:(Ljava/util/concurrent/atomic/AtomicReference;)Z
pop
2: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.windows:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.decrementAndGet:()J
lconst_0
lcmp
ifne 4
3: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.upstream:Lorg/reactivestreams/Subscription;
invokeinterface org.reactivestreams.Subscription.cancel:()V
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/reactivex/internal/operators/flowable/FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber<TT;TB;TV;>;
void dispose();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.resources:Lio/reactivex/disposables/CompositeDisposable;
invokevirtual io.reactivex.disposables.CompositeDisposable.dispose:()V
1: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.boundary:Ljava/util/concurrent/atomic/AtomicReference;
invokestatic io.reactivex.internal.disposables.DisposableHelper.dispose:(Ljava/util/concurrent/atomic/AtomicReference;)Z
pop
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/reactivex/internal/operators/flowable/FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber<TT;TB;TV;>;
void drainLoop();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=14, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.queue:Lio/reactivex/internal/fuseable/SimplePlainQueue;
astore 1
start local 1 1: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.downstream:Lorg/reactivestreams/Subscriber;
astore 2
start local 2 2: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.ws:Ljava/util/List;
astore 3
start local 3 3: iconst_1
istore 4
start local 4 4: StackMap locals: io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber io.reactivex.internal.fuseable.SimplePlainQueue org.reactivestreams.Subscriber java.util.List int
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.done:Z
istore 5
start local 5 5: aload 1
invokeinterface io.reactivex.internal.fuseable.SimplePlainQueue.poll:()Ljava/lang/Object;
astore 6
start local 6 6: aload 6
ifnonnull 7
iconst_1
goto 8
StackMap locals: int java.lang.Object
StackMap stack:
7: iconst_0
StackMap locals:
StackMap stack: int
8: istore 7
start local 7 9: iload 5
ifeq 24
iload 7
ifeq 24
10: aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.dispose:()V
11: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.error:Ljava/lang/Throwable;
astore 8
start local 8 12: aload 8
ifnull 18
13: aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 10
goto 16
StackMap locals: io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber io.reactivex.internal.fuseable.SimplePlainQueue org.reactivestreams.Subscriber java.util.List int int java.lang.Object int java.lang.Throwable top java.util.Iterator
StackMap stack:
14: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.reactivex.processors.UnicastProcessor
astore 9
start local 9 15: aload 9
aload 8
invokevirtual io.reactivex.processors.UnicastProcessor.onError:(Ljava/lang/Throwable;)V
end local 9 16: StackMap locals:
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 14
17: goto 22
18: StackMap locals: io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber io.reactivex.internal.fuseable.SimplePlainQueue org.reactivestreams.Subscriber java.util.List int int java.lang.Object int java.lang.Throwable
StackMap stack:
aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 10
goto 21
StackMap locals: io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber io.reactivex.internal.fuseable.SimplePlainQueue org.reactivestreams.Subscriber java.util.List int int java.lang.Object int java.lang.Throwable top java.util.Iterator
StackMap stack:
19: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.reactivex.processors.UnicastProcessor
astore 9
start local 9 20: aload 9
invokevirtual io.reactivex.processors.UnicastProcessor.onComplete:()V
end local 9 21: StackMap locals:
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 19
22: StackMap locals: io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber io.reactivex.internal.fuseable.SimplePlainQueue org.reactivestreams.Subscriber java.util.List int int java.lang.Object int java.lang.Throwable
StackMap stack:
aload 3
invokeinterface java.util.List.clear:()V
23: return
end local 8 24: StackMap locals:
StackMap stack:
iload 7
ifeq 26
25: goto 64
26: StackMap locals:
StackMap stack:
aload 6
instanceof io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowOperation
ifeq 59
27: aload 6
checkcast io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowOperation
astore 8
start local 8 28: aload 8
getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowOperation.w:Lio/reactivex/processors/UnicastProcessor;
astore 9
start local 9 29: aload 9
ifnull 35
30: aload 3
aload 8
getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowOperation.w:Lio/reactivex/processors/UnicastProcessor;
invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
ifeq 4
31: aload 8
getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowOperation.w:Lio/reactivex/processors/UnicastProcessor;
invokevirtual io.reactivex.processors.UnicastProcessor.onComplete:()V
32: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.windows:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.decrementAndGet:()J
lconst_0
lcmp
ifne 4
33: aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.dispose:()V
34: return
35: StackMap locals: io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowOperation io.reactivex.processors.UnicastProcessor
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.stopWindows:Ljava/util/concurrent/atomic/AtomicBoolean;
invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
ifeq 37
36: goto 4
37: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.bufferSize:I
invokestatic io.reactivex.processors.UnicastProcessor.create:(I)Lio/reactivex/processors/UnicastProcessor;
astore 9
38: aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.requested:()J
lstore 10
start local 10 39: lload 10
lconst_0
lcmp
ifeq 45
40: aload 3
aload 9
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
41: aload 2
aload 9
invokeinterface org.reactivestreams.Subscriber.onNext:(Ljava/lang/Object;)V
42: lload 10
ldc 9223372036854775807
lcmp
ifeq 48
43: aload 0
lconst_1
invokevirtual io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.produced:(J)J
pop2
44: goto 48
45: StackMap locals: long
StackMap stack:
aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.cancel:()V
46: aload 2
new io.reactivex.exceptions.MissingBackpressureException
dup
ldc "Could not deliver new window due to lack of requests"
invokespecial io.reactivex.exceptions.MissingBackpressureException.<init>:(Ljava/lang/String;)V
invokeinterface org.reactivestreams.Subscriber.onError:(Ljava/lang/Throwable;)V
47: goto 4
48: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.close:Lio/reactivex/functions/Function;
aload 8
getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowOperation.open:Ljava/lang/Object;
invokeinterface io.reactivex.functions.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.reactivestreams.Publisher
ldc "The publisher supplied is null"
invokestatic io.reactivex.internal.functions.ObjectHelper.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast org.reactivestreams.Publisher
astore 12
start local 12 49: goto 54
end local 12 StackMap locals:
StackMap stack: java.lang.Throwable
50: astore 13
start local 13 51: aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.cancel:()V
52: aload 2
aload 13
invokeinterface org.reactivestreams.Subscriber.onError:(Ljava/lang/Throwable;)V
53: goto 4
end local 13 start local 12 54: StackMap locals: org.reactivestreams.Publisher
StackMap stack:
new io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$OperatorWindowBoundaryCloseSubscriber
dup
aload 0
aload 9
invokespecial io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$OperatorWindowBoundaryCloseSubscriber.<init>:(Lio/reactivex/internal/operators/flowable/FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber;Lio/reactivex/processors/UnicastProcessor;)V
astore 13
start local 13 55: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.resources:Lio/reactivex/disposables/CompositeDisposable;
aload 13
invokevirtual io.reactivex.disposables.CompositeDisposable.add:(Lio/reactivex/disposables/Disposable;)Z
ifeq 4
56: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.windows:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.getAndIncrement:()J
pop2
57: aload 12
aload 13
invokeinterface org.reactivestreams.Publisher.subscribe:(Lorg/reactivestreams/Subscriber;)V
58: goto 4
end local 13 end local 12 end local 10 end local 9 end local 8 59: StackMap locals: io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber io.reactivex.internal.fuseable.SimplePlainQueue org.reactivestreams.Subscriber java.util.List int int java.lang.Object int
StackMap stack:
aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 9
goto 62
StackMap locals: io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber io.reactivex.internal.fuseable.SimplePlainQueue org.reactivestreams.Subscriber java.util.List int int java.lang.Object int top java.util.Iterator
StackMap stack:
60: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.reactivex.processors.UnicastProcessor
astore 8
start local 8 61: aload 8
aload 6
invokestatic io.reactivex.internal.util.NotificationLite.getValue:(Ljava/lang/Object;)Ljava/lang/Object;
invokevirtual io.reactivex.processors.UnicastProcessor.onNext:(Ljava/lang/Object;)V
end local 8 62: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 60
end local 7 end local 6 end local 5 63: goto 4
64: StackMap locals: io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber io.reactivex.internal.fuseable.SimplePlainQueue org.reactivestreams.Subscriber java.util.List int
StackMap stack:
aload 0
iload 4
ineg
invokevirtual io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.leave:(I)I
istore 4
65: iload 4
ifne 4
66: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 67 0 this Lio/reactivex/internal/operators/flowable/FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber<TT;TB;TV;>;
1 67 1 q Lio/reactivex/internal/fuseable/SimplePlainQueue<Ljava/lang/Object;>;
2 67 2 a Lorg/reactivestreams/Subscriber<-Lio/reactivex/Flowable<TT;>;>;
3 67 3 ws Ljava/util/List<Lio/reactivex/processors/UnicastProcessor<TT;>;>;
4 67 4 missed I
5 63 5 d Z
6 63 6 o Ljava/lang/Object;
9 63 7 empty Z
12 24 8 e Ljava/lang/Throwable;
15 16 9 w Lio/reactivex/processors/UnicastProcessor<TT;>;
20 21 9 w Lio/reactivex/processors/UnicastProcessor<TT;>;
28 59 8 wo Lio/reactivex/internal/operators/flowable/FlowableWindowBoundarySelector$WindowOperation<TT;TB;>;
29 59 9 w Lio/reactivex/processors/UnicastProcessor<TT;>;
39 59 10 r J
49 50 12 p Lorg/reactivestreams/Publisher<TV;>;
54 59 12 p Lorg/reactivestreams/Publisher<TV;>;
51 54 13 e Ljava/lang/Throwable;
55 59 13 cl Lio/reactivex/internal/operators/flowable/FlowableWindowBoundarySelector$OperatorWindowBoundaryCloseSubscriber<TT;TV;>;
61 62 8 w Lio/reactivex/processors/UnicastProcessor<TT;>;
Exception table:
from to target type
48 49 50 Class java.lang.Throwable
public boolean accept(org.reactivestreams.Subscriber<? super io.reactivex.Flowable<T>>, );
descriptor: (Lorg/reactivestreams/Subscriber;Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/internal/operators/flowable/FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber<TT;TB;TV;>;
0 1 1 a Lorg/reactivestreams/Subscriber<-Lio/reactivex/Flowable<TT;>;>;
0 1 2 v Ljava/lang/Object;
Signature: (Lorg/reactivestreams/Subscriber<-Lio/reactivex/Flowable<TT;>;>;Ljava/lang/Object;)Z
MethodParameters:
Name Flags
a
v
void open();
descriptor: (Ljava/lang/Object;)V
flags: (0x0000)
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.queue:Lio/reactivex/internal/fuseable/SimplePlainQueue;
new io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowOperation
dup
aconst_null
aload 1
invokespecial io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowOperation.<init>:(Lio/reactivex/processors/UnicastProcessor;Ljava/lang/Object;)V
invokeinterface io.reactivex.internal.fuseable.SimplePlainQueue.offer:(Ljava/lang/Object;)Z
pop
1: aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.enter:()Z
ifeq 3
2: aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.drainLoop:()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/FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber<TT;TB;TV;>;
0 4 1 b TB;
Signature: (TB;)V
MethodParameters:
Name Flags
b
void close(io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$OperatorWindowBoundaryCloseSubscriber<T, V>);
descriptor: (Lio/reactivex/internal/operators/flowable/FlowableWindowBoundarySelector$OperatorWindowBoundaryCloseSubscriber;)V
flags: (0x0000)
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.resources: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.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.queue:Lio/reactivex/internal/fuseable/SimplePlainQueue;
new io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowOperation
dup
aload 1
getfield io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$OperatorWindowBoundaryCloseSubscriber.w:Lio/reactivex/processors/UnicastProcessor;
aconst_null
invokespecial io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowOperation.<init>:(Lio/reactivex/processors/UnicastProcessor;Ljava/lang/Object;)V
invokeinterface io.reactivex.internal.fuseable.SimplePlainQueue.offer:(Ljava/lang/Object;)Z
pop
2: aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.enter:()Z
ifeq 4
3: aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber.drainLoop:()V
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/reactivex/internal/operators/flowable/FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber<TT;TB;TV;>;
0 5 1 w Lio/reactivex/internal/operators/flowable/FlowableWindowBoundarySelector$OperatorWindowBoundaryCloseSubscriber<TT;TV;>;
Signature: (Lio/reactivex/internal/operators/flowable/FlowableWindowBoundarySelector$OperatorWindowBoundaryCloseSubscriber<TT;TV;>;)V
MethodParameters:
Name Flags
w
}
Signature: <T:Ljava/lang/Object;B:Ljava/lang/Object;V:Ljava/lang/Object;>Lio/reactivex/internal/subscribers/QueueDrainSubscriber<TT;Ljava/lang/Object;Lio/reactivex/Flowable<TT;>;>;Lorg/reactivestreams/Subscription;
SourceFile: "FlowableWindowBoundarySelector.java"
NestHost: io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector
InnerClasses:
final OperatorWindowBoundaryCloseSubscriber = io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$OperatorWindowBoundaryCloseSubscriber of io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector
final OperatorWindowBoundaryOpenSubscriber = io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$OperatorWindowBoundaryOpenSubscriber of io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector
final WindowBoundaryMainSubscriber = io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowBoundaryMainSubscriber of io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector
final WindowOperation = io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector$WindowOperation of io.reactivex.internal.operators.flowable.FlowableWindowBoundarySelector