public class org.eclipse.jetty.util.ProcessorUtils
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jetty.util.ProcessorUtils
super_class: java.lang.Object
{
public static final java.lang.String AVAILABLE_PROCESSORS;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "JETTY_AVAILABLE_PROCESSORS"
private static int __availableProcessors;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic org.eclipse.jetty.util.ProcessorUtils.init:()I
putstatic org.eclipse.jetty.util.ProcessorUtils.__availableProcessors:I
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
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 Lorg/eclipse/jetty/util/ProcessorUtils;
static int init();
descriptor: ()I
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: ldc "JETTY_AVAILABLE_PROCESSORS"
ldc "JETTY_AVAILABLE_PROCESSORS"
invokestatic java.lang.System.getenv:(Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 0
start local 0 1: aload 0
ifnull 5
2: aload 0
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
3: ireturn
4: StackMap locals: java.lang.String
StackMap stack: java.lang.NumberFormatException
pop
5: StackMap locals:
StackMap stack:
invokestatic java.lang.Runtime.getRuntime:()Ljava/lang/Runtime;
invokevirtual java.lang.Runtime.availableProcessors:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 6 0 processors Ljava/lang/String;
Exception table:
from to target type
2 3 4 Class java.lang.NumberFormatException
public static int availableProcessors();
descriptor: ()I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.eclipse.jetty.util.ProcessorUtils.__availableProcessors:I
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static void setAvailableProcessors(int);
descriptor: (I)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: iload 0
iconst_1
if_icmpge 2
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Invalid number of processors: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 0
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
iload 0
putstatic org.eclipse.jetty.util.ProcessorUtils.__availableProcessors:I
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 processors I
MethodParameters:
Name Flags
processors
}
SourceFile: "ProcessorUtils.java"