public class sun.management.BaseOperatingSystemImpl implements java.lang.management.OperatingSystemMXBean
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.management.BaseOperatingSystemImpl
super_class: java.lang.Object
{
private final sun.management.VMManagement jvm;
descriptor: Lsun/management/VMManagement;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final jdk.internal.misc.Unsafe unsafe;
descriptor: Ljdk/internal/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 jdk.internal.misc.Unsafe.getUnsafe:()Ljdk/internal/misc/Unsafe;
putstatic sun.management.BaseOperatingSystemImpl.unsafe:Ljdk/internal/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.BaseOperatingSystemImpl.loadavg:[D
2: aload 0
aload 1
putfield sun.management.BaseOperatingSystemImpl.jvm:Lsun/management/VMManagement;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/management/BaseOperatingSystemImpl;
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.BaseOperatingSystemImpl.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/BaseOperatingSystemImpl;
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.BaseOperatingSystemImpl.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/BaseOperatingSystemImpl;
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.BaseOperatingSystemImpl.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/BaseOperatingSystemImpl;
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.BaseOperatingSystemImpl.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/BaseOperatingSystemImpl;
public double getSystemLoadAverage();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic sun.management.BaseOperatingSystemImpl.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getfield sun.management.BaseOperatingSystemImpl.loadavg:[D
iconst_1
invokevirtual jdk.internal.misc.Unsafe.getLoadAverage:([DI)I
iconst_1
if_icmpne 2
1: aload 0
getfield sun.management.BaseOperatingSystemImpl.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/BaseOperatingSystemImpl;
public javax.management.ObjectName getObjectName();
descriptor: ()Ljavax/management/ObjectName;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "java.lang:type=OperatingSystem"
invokestatic sun.management.Util.newObjectName:(Ljava/lang/String;)Ljavax/management/ObjectName;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/management/BaseOperatingSystemImpl;
}
SourceFile: "BaseOperatingSystemImpl.java"