final class io.reactivex.internal.schedulers.ComputationScheduler$FixedSchedulerPool implements io.reactivex.internal.schedulers.SchedulerMultiWorkerSupport
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.reactivex.internal.schedulers.ComputationScheduler$FixedSchedulerPool
super_class: java.lang.Object
{
final int cores;
descriptor: I
flags: (0x0010) ACC_FINAL
final io.reactivex.internal.schedulers.ComputationScheduler$PoolWorker[] eventLoops;
descriptor: [Lio/reactivex/internal/schedulers/ComputationScheduler$PoolWorker;
flags: (0x0010) ACC_FINAL
long n;
descriptor: J
flags: (0x0000)
void <init>(int, java.util.concurrent.ThreadFactory);
descriptor: (ILjava/util/concurrent/ThreadFactory;)V
flags: (0x0000)
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iload 1
putfield io.reactivex.internal.schedulers.ComputationScheduler$FixedSchedulerPool.cores:I
2: aload 0
iload 1
anewarray io.reactivex.internal.schedulers.ComputationScheduler$PoolWorker
putfield io.reactivex.internal.schedulers.ComputationScheduler$FixedSchedulerPool.eventLoops:[Lio/reactivex/internal/schedulers/ComputationScheduler$PoolWorker;
3: iconst_0
istore 3
start local 3 4: goto 7
5: StackMap locals: io.reactivex.internal.schedulers.ComputationScheduler$FixedSchedulerPool int java.util.concurrent.ThreadFactory int
StackMap stack:
aload 0
getfield io.reactivex.internal.schedulers.ComputationScheduler$FixedSchedulerPool.eventLoops:[Lio/reactivex/internal/schedulers/ComputationScheduler$PoolWorker;
iload 3
new io.reactivex.internal.schedulers.ComputationScheduler$PoolWorker
dup
aload 2
invokespecial io.reactivex.internal.schedulers.ComputationScheduler$PoolWorker.<init>:(Ljava/util/concurrent/ThreadFactory;)V
aastore
6: iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
iload 1
if_icmplt 5
end local 3 8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/reactivex/internal/schedulers/ComputationScheduler$FixedSchedulerPool;
0 9 1 maxThreads I
0 9 2 threadFactory Ljava/util/concurrent/ThreadFactory;
4 8 3 i I
MethodParameters:
Name Flags
maxThreads
threadFactory
public io.reactivex.internal.schedulers.ComputationScheduler$PoolWorker getEventLoop();
descriptor: ()Lio/reactivex/internal/schedulers/ComputationScheduler$PoolWorker;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=2, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.schedulers.ComputationScheduler$FixedSchedulerPool.cores:I
istore 1
start local 1 1: iload 1
ifne 3
2: getstatic io.reactivex.internal.schedulers.ComputationScheduler.SHUTDOWN_WORKER:Lio/reactivex/internal/schedulers/ComputationScheduler$PoolWorker;
areturn
3: StackMap locals: int
StackMap stack:
aload 0
getfield io.reactivex.internal.schedulers.ComputationScheduler$FixedSchedulerPool.eventLoops:[Lio/reactivex/internal/schedulers/ComputationScheduler$PoolWorker;
aload 0
dup
getfield io.reactivex.internal.schedulers.ComputationScheduler$FixedSchedulerPool.n:J
dup2_x1
lconst_1
ladd
putfield io.reactivex.internal.schedulers.ComputationScheduler$FixedSchedulerPool.n:J
iload 1
i2l
lrem
l2i
aaload
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/reactivex/internal/schedulers/ComputationScheduler$FixedSchedulerPool;
1 4 1 c I
public void shutdown();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.schedulers.ComputationScheduler$FixedSchedulerPool.eventLoops:[Lio/reactivex/internal/schedulers/ComputationScheduler$PoolWorker;
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 4
StackMap locals: io.reactivex.internal.schedulers.ComputationScheduler$FixedSchedulerPool top int int io.reactivex.internal.schedulers.ComputationScheduler$PoolWorker[]
StackMap stack:
1: aload 4
iload 2
aaload
astore 1
start local 1 2: aload 1
invokevirtual io.reactivex.internal.schedulers.ComputationScheduler$PoolWorker.dispose:()V
end local 1 3: iinc 2 1
StackMap locals:
StackMap stack:
4: iload 2
iload 3
if_icmplt 1
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/reactivex/internal/schedulers/ComputationScheduler$FixedSchedulerPool;
2 3 1 w Lio/reactivex/internal/schedulers/ComputationScheduler$PoolWorker;
public void createWorkers(int, io.reactivex.internal.schedulers.SchedulerMultiWorkerSupport$WorkerCallback);
descriptor: (ILio/reactivex/internal/schedulers/SchedulerMultiWorkerSupport$WorkerCallback;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.reactivex.internal.schedulers.ComputationScheduler$FixedSchedulerPool.cores:I
istore 3
start local 3 1: iload 3
ifne 8
2: iconst_0
istore 4
start local 4 3: goto 6
4: StackMap locals: int int
StackMap stack:
aload 2
iload 4
getstatic io.reactivex.internal.schedulers.ComputationScheduler.SHUTDOWN_WORKER:Lio/reactivex/internal/schedulers/ComputationScheduler$PoolWorker;
invokeinterface io.reactivex.internal.schedulers.SchedulerMultiWorkerSupport$WorkerCallback.onWorker:(ILio/reactivex/Scheduler$Worker;)V
5: iinc 4 1
StackMap locals:
StackMap stack:
6: iload 4
iload 1
if_icmplt 4
end local 4 7: goto 17
8: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.schedulers.ComputationScheduler$FixedSchedulerPool.n:J
l2i
iload 3
irem
istore 4
start local 4 9: iconst_0
istore 5
start local 5 10: goto 15
11: StackMap locals: int int
StackMap stack:
aload 2
iload 5
new io.reactivex.internal.schedulers.ComputationScheduler$EventLoopWorker
dup
aload 0
getfield io.reactivex.internal.schedulers.ComputationScheduler$FixedSchedulerPool.eventLoops:[Lio/reactivex/internal/schedulers/ComputationScheduler$PoolWorker;
iload 4
aaload
invokespecial io.reactivex.internal.schedulers.ComputationScheduler$EventLoopWorker.<init>:(Lio/reactivex/internal/schedulers/ComputationScheduler$PoolWorker;)V
invokeinterface io.reactivex.internal.schedulers.SchedulerMultiWorkerSupport$WorkerCallback.onWorker:(ILio/reactivex/Scheduler$Worker;)V
12: iinc 4 1
iload 4
iload 3
if_icmpne 14
13: iconst_0
istore 4
14: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
15: iload 5
iload 1
if_icmplt 11
end local 5 16: aload 0
iload 4
i2l
putfield io.reactivex.internal.schedulers.ComputationScheduler$FixedSchedulerPool.n:J
end local 4 17: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lio/reactivex/internal/schedulers/ComputationScheduler$FixedSchedulerPool;
0 18 1 number I
0 18 2 callback Lio/reactivex/internal/schedulers/SchedulerMultiWorkerSupport$WorkerCallback;
1 18 3 c I
3 7 4 i I
9 17 4 index I
10 16 5 i I
MethodParameters:
Name Flags
number
callback
}
SourceFile: "ComputationScheduler.java"
NestHost: io.reactivex.internal.schedulers.ComputationScheduler
InnerClasses:
public abstract Worker = io.reactivex.Scheduler$Worker of io.reactivex.Scheduler
final EventLoopWorker = io.reactivex.internal.schedulers.ComputationScheduler$EventLoopWorker of io.reactivex.internal.schedulers.ComputationScheduler
final FixedSchedulerPool = io.reactivex.internal.schedulers.ComputationScheduler$FixedSchedulerPool of io.reactivex.internal.schedulers.ComputationScheduler
final PoolWorker = io.reactivex.internal.schedulers.ComputationScheduler$PoolWorker of io.reactivex.internal.schedulers.ComputationScheduler
public abstract WorkerCallback = io.reactivex.internal.schedulers.SchedulerMultiWorkerSupport$WorkerCallback of io.reactivex.internal.schedulers.SchedulerMultiWorkerSupport