public class sun.management.OperatingSystemImpl implements java.lang.management.OperatingSystemMXBean
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.management.OperatingSystemImpl
super_class: java.lang.Object
{
private final sun.management.VMManagement jvm;
descriptor: Lsun/management/VMManagement;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final sun.misc.Unsafe unsafe;
descriptor: Lsun/misc/Unsafe;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private double[] loadavg;
descriptor: [D
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic sun.misc.Unsafe.getUnsafe:()Lsun/misc/Unsafe;
putstatic sun.management.OperatingSystemImpl.unsafe:Lsun/misc/Unsafe;
return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>(sun.management.VMManagement);
descriptor: (Lsun/management/VMManagement;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_1
newarray 7
putfield sun.management.OperatingSystemImpl.loadavg:[D
2: aload 0
aload 1
putfield sun.management.OperatingSystemImpl.jvm:Lsun/management/VMManagement;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/management/OperatingSystemImpl;
0 4 1 vm Lsun/management/VMManagement;
MethodParameters:
Name Flags
vm
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.management.OperatingSystemImpl.jvm:Lsun/management/VMManagement;
invokeinterface sun.management.VMManagement.getOsName:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/management/OperatingSystemImpl;
public java.lang.String getArch();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.management.OperatingSystemImpl.jvm:Lsun/management/VMManagement;
invokeinterface sun.management.VMManagement.getOsArch:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/management/OperatingSystemImpl;
public java.lang.String getVersion();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.management.OperatingSystemImpl.jvm:Lsun/management/VMManagement;
invokeinterface sun.management.VMManagement.getOsVersion:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/management/OperatingSystemImpl;
public int getAvailableProcessors();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.management.OperatingSystemImpl.jvm:Lsun/management/VMManagement;
invokeinterface sun.management.VMManagement.getAvailableProcessors:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/management/OperatingSystemImpl;
public double getSystemLoadAverage();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic sun.management.OperatingSystemImpl.unsafe:Lsun/misc/Unsafe;
aload 0
getfield sun.management.OperatingSystemImpl.loadavg:[D
iconst_1
invokevirtual sun.misc.Unsafe.getLoadAverage:([DI)I
iconst_1
if_icmpne 2
1: aload 0
getfield sun.management.OperatingSystemImpl.loadavg:[D
iconst_0
daload
dreturn
2: StackMap locals:
StackMap stack:
ldc -1.0
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/management/OperatingSystemImpl;
}
SourceFile: "OperatingSystemImpl.java"