final class reactor.core.publisher.ParallelMergeReduce$MergeReduceMain<T> extends reactor.core.publisher.Operators$MonoSubscriber<T, T>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: reactor.core.publisher.ParallelMergeReduce$MergeReduceMain
super_class: reactor.core.publisher.Operators$MonoSubscriber
{
final reactor.core.publisher.ParallelMergeReduce$MergeReduceInner<T>[] subscribers;
descriptor: [Lreactor/core/publisher/ParallelMergeReduce$MergeReduceInner;
flags: (0x0010) ACC_FINAL
Signature: [Lreactor/core/publisher/ParallelMergeReduce$MergeReduceInner<TT;>;
final java.util.function.BiFunction<T, T, T> reducer;
descriptor: Ljava/util/function/BiFunction;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/function/BiFunction<TT;TT;TT;>;
volatile reactor.core.publisher.ParallelMergeReduce$SlotPair<T> current;
descriptor: Lreactor/core/publisher/ParallelMergeReduce$SlotPair;
flags: (0x0040) ACC_VOLATILE
Signature: Lreactor/core/publisher/ParallelMergeReduce$SlotPair<TT;>;
static final java.util.concurrent.atomic.AtomicReferenceFieldUpdater<reactor.core.publisher.ParallelMergeReduce$MergeReduceMain, reactor.core.publisher.ParallelMergeReduce$SlotPair> CURRENT;
descriptor: Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
flags: (0x0018) ACC_STATIC, ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater<Lreactor/core/publisher/ParallelMergeReduce$MergeReduceMain;Lreactor/core/publisher/ParallelMergeReduce$SlotPair;>;
volatile int remaining;
descriptor: I
flags: (0x0040) ACC_VOLATILE
static final java.util.concurrent.atomic.AtomicIntegerFieldUpdater<reactor.core.publisher.ParallelMergeReduce$MergeReduceMain> REMAINING;
descriptor: Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
flags: (0x0018) ACC_STATIC, ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater<Lreactor/core/publisher/ParallelMergeReduce$MergeReduceMain;>;
volatile java.lang.Throwable error;
descriptor: Ljava/lang/Throwable;
flags: (0x0040) ACC_VOLATILE
static final java.util.concurrent.atomic.AtomicReferenceFieldUpdater<reactor.core.publisher.ParallelMergeReduce$MergeReduceMain, java.lang.Throwable> ERROR;
descriptor: Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
flags: (0x0018) ACC_STATIC, ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater<Lreactor/core/publisher/ParallelMergeReduce$MergeReduceMain;Ljava/lang/Throwable;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: ldc Lreactor/core/publisher/ParallelMergeReduce$MergeReduceMain;
1: ldc Lreactor/core/publisher/ParallelMergeReduce$SlotPair;
2: ldc "current"
3: invokestatic java.util.concurrent.atomic.AtomicReferenceFieldUpdater.newUpdater:(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
putstatic reactor.core.publisher.ParallelMergeReduce$MergeReduceMain.CURRENT:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
4: ldc Lreactor/core/publisher/ParallelMergeReduce$MergeReduceMain;
5: ldc "remaining"
6: invokestatic java.util.concurrent.atomic.AtomicIntegerFieldUpdater.newUpdater:(Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
putstatic reactor.core.publisher.ParallelMergeReduce$MergeReduceMain.REMAINING:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
7: ldc Lreactor/core/publisher/ParallelMergeReduce$MergeReduceMain;
8: ldc Ljava/lang/Throwable;
9: ldc "error"
10: invokestatic java.util.concurrent.atomic.AtomicReferenceFieldUpdater.newUpdater:(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
putstatic reactor.core.publisher.ParallelMergeReduce$MergeReduceMain.ERROR:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
11: return
LocalVariableTable:
Start End Slot Name Signature
void <init>(reactor.core.CoreSubscriber<? super T>, int, java.util.function.BiFunction<T, T, T>);
descriptor: (Lreactor/core/CoreSubscriber;ILjava/util/function/BiFunction;)V
flags: (0x0000)
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokespecial reactor.core.publisher.Operators$MonoSubscriber.<init>:(Lreactor/core/CoreSubscriber;)V
1: iload 2
anewarray reactor.core.publisher.ParallelMergeReduce$MergeReduceInner
2: astore 4
start local 4 3: iconst_0
istore 5
start local 5 4: goto 7
5: StackMap locals: reactor.core.publisher.ParallelMergeReduce$MergeReduceMain reactor.core.CoreSubscriber int java.util.function.BiFunction reactor.core.publisher.ParallelMergeReduce$MergeReduceInner[] int
StackMap stack:
aload 4
iload 5
new reactor.core.publisher.ParallelMergeReduce$MergeReduceInner
dup
aload 0
aload 3
invokespecial reactor.core.publisher.ParallelMergeReduce$MergeReduceInner.<init>:(Lreactor/core/publisher/ParallelMergeReduce$MergeReduceMain;Ljava/util/function/BiFunction;)V
aastore
6: iinc 5 1
StackMap locals:
StackMap stack:
7: iload 5
iload 2
if_icmplt 5
end local 5 8: aload 0
aload 4
putfield reactor.core.publisher.ParallelMergeReduce$MergeReduceMain.subscribers:[Lreactor/core/publisher/ParallelMergeReduce$MergeReduceInner;
9: aload 0
aload 3
putfield reactor.core.publisher.ParallelMergeReduce$MergeReduceMain.reducer:Ljava/util/function/BiFunction;
10: getstatic reactor.core.publisher.ParallelMergeReduce$MergeReduceMain.REMAINING:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
aload 0
iload 2
invokevirtual java.util.concurrent.atomic.AtomicIntegerFieldUpdater.lazySet:(Ljava/lang/Object;I)V
11: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lreactor/core/publisher/ParallelMergeReduce$MergeReduceMain<TT;>;
0 12 1 subscriber Lreactor/core/CoreSubscriber<-TT;>;
0 12 2 n I
0 12 3 reducer Ljava/util/function/BiFunction<TT;TT;TT;>;
3 12 4 a [Lreactor/core/publisher/ParallelMergeReduce$MergeReduceInner;
4 8 5 i I
Signature: (Lreactor/core/CoreSubscriber<-TT;>;ILjava/util/function/BiFunction<TT;TT;TT;>;)V
MethodParameters:
Name Flags
subscriber
n
reducer
public java.lang.Object scanUnsafe(reactor.core.Scannable$Attr);
descriptor: (Lreactor/core/Scannable$Attr;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getstatic reactor.core.Scannable$Attr.ERROR:Lreactor/core/Scannable$Attr;
if_acmpne 1
aload 0
getfield reactor.core.publisher.ParallelMergeReduce$MergeReduceMain.error:Ljava/lang/Throwable;
areturn
1: StackMap locals:
StackMap stack:
aload 1
getstatic reactor.core.Scannable$Attr.TERMINATED:Lreactor/core/Scannable$Attr;
if_acmpne 3
getstatic reactor.core.publisher.ParallelMergeReduce$MergeReduceMain.REMAINING:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
aload 0
invokevirtual java.util.concurrent.atomic.AtomicIntegerFieldUpdater.get:(Ljava/lang/Object;)I
ifne 2
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
StackMap locals:
StackMap stack:
2: iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
3: StackMap locals:
StackMap stack:
aload 1
getstatic reactor.core.Scannable$Attr.RUN_STYLE:Lreactor/core/Scannable$Attr;
if_acmpne 4
getstatic reactor.core.Scannable$Attr$RunStyle.SYNC:Lreactor/core/Scannable$Attr$RunStyle;
areturn
4: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial reactor.core.publisher.Operators$MonoSubscriber.scanUnsafe:(Lreactor/core/Scannable$Attr;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lreactor/core/publisher/ParallelMergeReduce$MergeReduceMain<TT;>;
0 5 1 key Lreactor/core/Scannable$Attr;
RuntimeVisibleAnnotations:
reactor.util.annotation.Nullable()
MethodParameters:
Name Flags
key
reactor.core.publisher.ParallelMergeReduce$SlotPair<T> addValue(T);
descriptor: (Ljava/lang/Object;)Lreactor/core/publisher/ParallelMergeReduce$SlotPair;
flags: (0x0000)
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: StackMap locals:
StackMap stack:
aload 0
getfield reactor.core.publisher.ParallelMergeReduce$MergeReduceMain.current:Lreactor/core/publisher/ParallelMergeReduce$SlotPair;
astore 2
start local 2 1: aload 2
ifnonnull 5
2: new reactor.core.publisher.ParallelMergeReduce$SlotPair
dup
invokespecial reactor.core.publisher.ParallelMergeReduce$SlotPair.<init>:()V
astore 2
3: getstatic reactor.core.publisher.ParallelMergeReduce$MergeReduceMain.CURRENT:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
aload 0
aconst_null
aload 2
invokevirtual java.util.concurrent.atomic.AtomicReferenceFieldUpdater.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 5
4: goto 0
5: StackMap locals: reactor.core.publisher.ParallelMergeReduce$SlotPair
StackMap stack:
aload 2
invokevirtual reactor.core.publisher.ParallelMergeReduce$SlotPair.tryAcquireSlot:()I
istore 3
start local 3 6: iload 3
ifge 9
7: getstatic reactor.core.publisher.ParallelMergeReduce$MergeReduceMain.CURRENT:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
aload 0
aload 2
aconst_null
invokevirtual java.util.concurrent.atomic.AtomicReferenceFieldUpdater.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
pop
8: goto 0
9: StackMap locals: int
StackMap stack:
iload 3
ifne 12
10: aload 2
aload 1
putfield reactor.core.publisher.ParallelMergeReduce$SlotPair.first:Ljava/lang/Object;
11: goto 13
12: StackMap locals:
StackMap stack:
aload 2
aload 1
putfield reactor.core.publisher.ParallelMergeReduce$SlotPair.second:Ljava/lang/Object;
13: StackMap locals:
StackMap stack:
aload 2
invokevirtual reactor.core.publisher.ParallelMergeReduce$SlotPair.releaseSlot:()Z
ifeq 16
14: getstatic reactor.core.publisher.ParallelMergeReduce$MergeReduceMain.CURRENT:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
aload 0
aload 2
aconst_null
invokevirtual java.util.concurrent.atomic.AtomicReferenceFieldUpdater.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
pop
15: aload 2
areturn
16: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lreactor/core/publisher/ParallelMergeReduce$MergeReduceMain<TT;>;
0 17 1 value TT;
1 17 2 curr Lreactor/core/publisher/ParallelMergeReduce$SlotPair<TT;>;
6 17 3 c I
Signature: (TT;)Lreactor/core/publisher/ParallelMergeReduce$SlotPair<TT;>;
RuntimeVisibleAnnotations:
reactor.util.annotation.Nullable()
MethodParameters:
Name Flags
value
public void cancel();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
getfield reactor.core.publisher.ParallelMergeReduce$MergeReduceMain.subscribers:[Lreactor/core/publisher/ParallelMergeReduce$MergeReduceInner;
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 4
StackMap locals: reactor.core.publisher.ParallelMergeReduce$MergeReduceMain top int int reactor.core.publisher.ParallelMergeReduce$MergeReduceInner[]
StackMap stack:
1: aload 4
iload 2
aaload
astore 1
start local 1 2: aload 1
invokevirtual reactor.core.publisher.ParallelMergeReduce$MergeReduceInner.cancel:()V
end local 1 3: iinc 2 1
StackMap locals:
StackMap stack:
4: iload 2
iload 3
if_icmplt 1
5: aload 0
invokespecial reactor.core.publisher.Operators$MonoSubscriber.cancel:()V
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lreactor/core/publisher/ParallelMergeReduce$MergeReduceMain<TT;>;
2 3 1 inner Lreactor/core/publisher/ParallelMergeReduce$MergeReduceInner<TT;>;
void innerError(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: getstatic reactor.core.publisher.ParallelMergeReduce$MergeReduceMain.ERROR:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
aload 0
aconst_null
aload 1
invokevirtual java.util.concurrent.atomic.AtomicReferenceFieldUpdater.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 4
1: aload 0
invokevirtual reactor.core.publisher.ParallelMergeReduce$MergeReduceMain.cancel:()V
2: aload 0
getfield reactor.core.publisher.ParallelMergeReduce$MergeReduceMain.actual:Lreactor/core/CoreSubscriber;
aload 1
invokeinterface reactor.core.CoreSubscriber.onError:(Ljava/lang/Throwable;)V
3: goto 6
4: StackMap locals:
StackMap stack:
aload 0
getfield reactor.core.publisher.ParallelMergeReduce$MergeReduceMain.error:Ljava/lang/Throwable;
aload 1
if_acmpeq 6
5: aload 1
aload 0
getfield reactor.core.publisher.ParallelMergeReduce$MergeReduceMain.actual:Lreactor/core/CoreSubscriber;
invokeinterface reactor.core.CoreSubscriber.currentContext:()Lreactor/util/context/Context;
invokestatic reactor.core.publisher.Operators.onErrorDropped:(Ljava/lang/Throwable;Lreactor/util/context/Context;)V
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lreactor/core/publisher/ParallelMergeReduce$MergeReduceMain<TT;>;
0 7 1 ex Ljava/lang/Throwable;
MethodParameters:
Name Flags
ex
void innerComplete();
descriptor: (Ljava/lang/Object;)V
flags: (0x0000)
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ifnull 14
1: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual reactor.core.publisher.ParallelMergeReduce$MergeReduceMain.addValue:(Ljava/lang/Object;)Lreactor/core/publisher/ParallelMergeReduce$SlotPair;
astore 2
start local 2 2: aload 2
ifnull 14
3: aload 0
getfield reactor.core.publisher.ParallelMergeReduce$MergeReduceMain.reducer:Ljava/util/function/BiFunction;
aload 2
getfield reactor.core.publisher.ParallelMergeReduce$SlotPair.first:Ljava/lang/Object;
4: aload 2
getfield reactor.core.publisher.ParallelMergeReduce$SlotPair.second:Ljava/lang/Object;
5: invokeinterface java.util.function.BiFunction.apply:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
6: ldc "The reducer returned a null value"
7: invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
astore 1
8: goto 1
9: StackMap locals: reactor.core.publisher.ParallelMergeReduce$MergeReduceMain java.lang.Object reactor.core.publisher.ParallelMergeReduce$SlotPair
StackMap stack: java.lang.Throwable
astore 3
start local 3 10: aload 0
aload 0
aload 3
11: aload 0
getfield reactor.core.publisher.ParallelMergeReduce$MergeReduceMain.actual:Lreactor/core/CoreSubscriber;
invokeinterface reactor.core.CoreSubscriber.currentContext:()Lreactor/util/context/Context;
12: invokestatic reactor.core.publisher.Operators.onOperatorError:(Lorg/reactivestreams/Subscription;Ljava/lang/Throwable;Lreactor/util/context/Context;)Ljava/lang/Throwable;
invokevirtual reactor.core.publisher.ParallelMergeReduce$MergeReduceMain.innerError:(Ljava/lang/Throwable;)V
13: return
end local 3 end local 2 14: StackMap locals:
StackMap stack:
getstatic reactor.core.publisher.ParallelMergeReduce$MergeReduceMain.REMAINING:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
aload 0
invokevirtual java.util.concurrent.atomic.AtomicIntegerFieldUpdater.decrementAndGet:(Ljava/lang/Object;)I
ifne 21
15: aload 0
getfield reactor.core.publisher.ParallelMergeReduce$MergeReduceMain.current:Lreactor/core/publisher/ParallelMergeReduce$SlotPair;
astore 2
start local 2 16: getstatic reactor.core.publisher.ParallelMergeReduce$MergeReduceMain.CURRENT:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
aload 0
aconst_null
invokevirtual java.util.concurrent.atomic.AtomicReferenceFieldUpdater.lazySet:(Ljava/lang/Object;Ljava/lang/Object;)V
17: aload 2
ifnull 20
18: aload 0
aload 2
getfield reactor.core.publisher.ParallelMergeReduce$SlotPair.first:Ljava/lang/Object;
invokevirtual reactor.core.publisher.ParallelMergeReduce$MergeReduceMain.complete:(Ljava/lang/Object;)V
19: goto 21
20: StackMap locals: reactor.core.publisher.ParallelMergeReduce$SlotPair
StackMap stack:
aload 0
getfield reactor.core.publisher.ParallelMergeReduce$MergeReduceMain.actual:Lreactor/core/CoreSubscriber;
invokeinterface reactor.core.CoreSubscriber.onComplete:()V
end local 2 21: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lreactor/core/publisher/ParallelMergeReduce$MergeReduceMain<TT;>;
0 22 1 value TT;
2 14 2 sp Lreactor/core/publisher/ParallelMergeReduce$SlotPair<TT;>;
10 14 3 ex Ljava/lang/Throwable;
16 21 2 sp Lreactor/core/publisher/ParallelMergeReduce$SlotPair<TT;>;
Exception table:
from to target type
3 8 9 Class java.lang.Throwable
Signature: (TT;)V
RuntimeVisibleParameterAnnotations:
0:
reactor.util.annotation.Nullable()
MethodParameters:
Name Flags
value
}
Signature: <T:Ljava/lang/Object;>Lreactor/core/publisher/Operators$MonoSubscriber<TT;TT;>;
SourceFile: "ParallelMergeReduce.java"
NestHost: reactor.core.publisher.ParallelMergeReduce
InnerClasses:
public Attr = reactor.core.Scannable$Attr of reactor.core.Scannable
public final RunStyle = reactor.core.Scannable$Attr$RunStyle of reactor.core.Scannable$Attr
public MonoSubscriber = reactor.core.publisher.Operators$MonoSubscriber of reactor.core.publisher.Operators
final MergeReduceInner = reactor.core.publisher.ParallelMergeReduce$MergeReduceInner of reactor.core.publisher.ParallelMergeReduce
final MergeReduceMain = reactor.core.publisher.ParallelMergeReduce$MergeReduceMain of reactor.core.publisher.ParallelMergeReduce
final SlotPair = reactor.core.publisher.ParallelMergeReduce$SlotPair of reactor.core.publisher.ParallelMergeReduce