class io.netty.util.NettyRuntime$AvailableProcessorsHolder
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: io.netty.util.NettyRuntime$AvailableProcessorsHolder
super_class: java.lang.Object
{
private int availableProcessors;
descriptor: I
flags: (0x0002) ACC_PRIVATE
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/util/NettyRuntime$AvailableProcessorsHolder;
synchronized void setAvailableProcessors(int);
descriptor: (I)V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: iload 1
ldc "availableProcessors"
invokestatic io.netty.util.internal.ObjectUtil.checkPositive:(ILjava/lang/String;)I
pop
1: aload 0
getfield io.netty.util.NettyRuntime$AvailableProcessorsHolder.availableProcessors:I
ifeq 8
2: getstatic java.util.Locale.ROOT:Ljava/util/Locale;
3: ldc "availableProcessors is already set to [%d], rejecting [%d]"
iconst_2
anewarray java.lang.Object
dup
iconst_0
4: aload 0
getfield io.netty.util.NettyRuntime$AvailableProcessorsHolder.availableProcessors:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
5: iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
6: invokestatic java.lang.String.format:(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 2
start local 2 7: new java.lang.IllegalStateException
dup
aload 2
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
end local 2 8: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield io.netty.util.NettyRuntime$AvailableProcessorsHolder.availableProcessors:I
9: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/netty/util/NettyRuntime$AvailableProcessorsHolder;
0 10 1 availableProcessors I
7 8 2 message Ljava/lang/String;
MethodParameters:
Name Flags
availableProcessors final
synchronized int availableProcessors();
descriptor: ()I
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield io.netty.util.NettyRuntime$AvailableProcessorsHolder.availableProcessors:I
ifne 6
1: ldc "io.netty.availableProcessors"
2: invokestatic java.lang.Runtime.getRuntime:()Ljava/lang/Runtime;
invokevirtual java.lang.Runtime.availableProcessors:()I
3: invokestatic io.netty.util.internal.SystemPropertyUtil.getInt:(Ljava/lang/String;I)I
4: istore 1
start local 1 5: aload 0
iload 1
invokevirtual io.netty.util.NettyRuntime$AvailableProcessorsHolder.setAvailableProcessors:(I)V
end local 1 6: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.util.NettyRuntime$AvailableProcessorsHolder.availableProcessors:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/netty/util/NettyRuntime$AvailableProcessorsHolder;
5 6 1 availableProcessors I
RuntimeInvisibleAnnotations:
io.netty.util.SuppressForbidden(reason = "to obtain default number of available processors")
}
SourceFile: "NettyRuntime.java"
NestHost: io.netty.util.NettyRuntime
InnerClasses:
AvailableProcessorsHolder = io.netty.util.NettyRuntime$AvailableProcessorsHolder of io.netty.util.NettyRuntime