class sun.management.OperatingSystemImpl extends sun.management.BaseOperatingSystemImpl implements com.sun.management.UnixOperatingSystemMXBean
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: sun.management.OperatingSystemImpl
  super_class: sun.management.BaseOperatingSystemImpl
{
  private static final int MAX_ATTEMPTS_NUMBER;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 10

  private final jdk.internal.platform.Metrics containerMetrics;
    descriptor: Ljdk/internal/platform/Metrics;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=0, locals=0, args_size=0
         0: .line 171
            invokestatic sun.management.OperatingSystemImpl.initialize:()V
         1: .line 172
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  void <init>(sun.management.VMManagement);
    descriptor: (Lsun/management/VMManagement;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // sun.management.OperatingSystemImpl this
        start local 1 // sun.management.VMManagement vm
         0: .line 45
            aload 0 /* this */
            aload 1 /* vm */
            invokespecial sun.management.BaseOperatingSystemImpl.<init>:(Lsun/management/VMManagement;)V
         1: .line 46
            aload 0 /* this */
            invokestatic jdk.internal.platform.Container.metrics:()Ljdk/internal/platform/Metrics;
            putfield sun.management.OperatingSystemImpl.containerMetrics:Ljdk/internal/platform/Metrics;
         2: .line 47
            return
        end local 1 // sun.management.VMManagement vm
        end local 0 // sun.management.OperatingSystemImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lsun/management/OperatingSystemImpl;
            0    3     1    vm  Lsun/management/VMManagement;
    MethodParameters:
      Name  Flags
      vm    

  public long getTotalSwapSpaceSize();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=5, args_size=1
        start local 0 // sun.management.OperatingSystemImpl this
         0: .line 50
            aload 0 /* this */
            getfield sun.management.OperatingSystemImpl.containerMetrics:Ljdk/internal/platform/Metrics;
            ifnull 5
         1: .line 51
            aload 0 /* this */
            getfield sun.management.OperatingSystemImpl.containerMetrics:Ljdk/internal/platform/Metrics;
            invokeinterface jdk.internal.platform.Metrics.getMemoryAndSwapLimit:()J
            lstore 1 /* limit */
        start local 1 // long limit
         2: .line 56
            aload 0 /* this */
            getfield sun.management.OperatingSystemImpl.containerMetrics:Ljdk/internal/platform/Metrics;
            invokeinterface jdk.internal.platform.Metrics.getMemoryLimit:()J
            lstore 3 /* memLimit */
        start local 3 // long memLimit
         3: .line 57
            lload 1 /* limit */
            lconst_0
            lcmp
            iflt 5
            lload 3 /* memLimit */
            lconst_0
            lcmp
            iflt 5
         4: .line 58
            lload 1 /* limit */
            lload 3 /* memLimit */
            lsub
            lreturn
        end local 3 // long memLimit
        end local 1 // long limit
         5: .line 61
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual sun.management.OperatingSystemImpl.getTotalSwapSpaceSize0:()J
            lreturn
        end local 0 // sun.management.OperatingSystemImpl this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    6     0      this  Lsun/management/OperatingSystemImpl;
            2    5     1     limit  J
            3    5     3  memLimit  J

  public long getFreeSwapSpaceSize();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=10, args_size=1
        start local 0 // sun.management.OperatingSystemImpl this
         0: .line 65
            aload 0 /* this */
            getfield sun.management.OperatingSystemImpl.containerMetrics:Ljdk/internal/platform/Metrics;
            ifnull 13
         1: .line 66
            aload 0 /* this */
            getfield sun.management.OperatingSystemImpl.containerMetrics:Ljdk/internal/platform/Metrics;
            invokeinterface jdk.internal.platform.Metrics.getMemoryAndSwapLimit:()J
            lstore 1 /* memSwapLimit */
        start local 1 // long memSwapLimit
         2: .line 67
            aload 0 /* this */
            getfield sun.management.OperatingSystemImpl.containerMetrics:Ljdk/internal/platform/Metrics;
            invokeinterface jdk.internal.platform.Metrics.getMemoryLimit:()J
            lstore 3 /* memLimit */
        start local 3 // long memLimit
         3: .line 68
            lload 1 /* memSwapLimit */
            lconst_0
            lcmp
            iflt 13
            lload 3 /* memLimit */
            lconst_0
            lcmp
            iflt 13
         4: .line 69
            iconst_0
            istore 5 /* attempt */
        start local 5 // int attempt
         5: goto 12
         6: .line 70
      StackMap locals: long long int
      StackMap stack:
            aload 0 /* this */
            getfield sun.management.OperatingSystemImpl.containerMetrics:Ljdk/internal/platform/Metrics;
            invokeinterface jdk.internal.platform.Metrics.getMemoryAndSwapUsage:()J
            lstore 6 /* memSwapUsage */
        start local 6 // long memSwapUsage
         7: .line 71
            aload 0 /* this */
            getfield sun.management.OperatingSystemImpl.containerMetrics:Ljdk/internal/platform/Metrics;
            invokeinterface jdk.internal.platform.Metrics.getMemoryUsage:()J
            lstore 8 /* memUsage */
        start local 8 // long memUsage
         8: .line 72
            lload 6 /* memSwapUsage */
            lconst_0
            lcmp
            ifle 11
            lload 8 /* memUsage */
            lconst_0
            lcmp
            ifle 11
         9: .line 76
            lload 6 /* memSwapUsage */
            lload 8 /* memUsage */
            lsub
            lconst_0
            lcmp
            iflt 11
        10: .line 77
            lload 1 /* memSwapLimit */
            lload 3 /* memLimit */
            lsub
            lload 6 /* memSwapUsage */
            lload 8 /* memUsage */
            lsub
            lsub
            lreturn
        end local 8 // long memUsage
        end local 6 // long memSwapUsage
        11: .line 69
      StackMap locals:
      StackMap stack:
            iinc 5 /* attempt */ 1
      StackMap locals:
      StackMap stack:
        12: iload 5 /* attempt */
            bipush 10
            if_icmplt 6
        end local 5 // int attempt
        end local 3 // long memLimit
        end local 1 // long memSwapLimit
        13: .line 83
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual sun.management.OperatingSystemImpl.getFreeSwapSpaceSize0:()J
            lreturn
        end local 0 // sun.management.OperatingSystemImpl this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   14     0          this  Lsun/management/OperatingSystemImpl;
            2   13     1  memSwapLimit  J
            3   13     3      memLimit  J
            5   13     5       attempt  I
            7   11     6  memSwapUsage  J
            8   11     8      memUsage  J

  public long getFreePhysicalMemorySize();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=5, args_size=1
        start local 0 // sun.management.OperatingSystemImpl this
         0: .line 87
            aload 0 /* this */
            getfield sun.management.OperatingSystemImpl.containerMetrics:Ljdk/internal/platform/Metrics;
            ifnull 5
         1: .line 88
            aload 0 /* this */
            getfield sun.management.OperatingSystemImpl.containerMetrics:Ljdk/internal/platform/Metrics;
            invokeinterface jdk.internal.platform.Metrics.getMemoryUsage:()J
            lstore 1 /* usage */
        start local 1 // long usage
         2: .line 89
            aload 0 /* this */
            getfield sun.management.OperatingSystemImpl.containerMetrics:Ljdk/internal/platform/Metrics;
            invokeinterface jdk.internal.platform.Metrics.getMemoryLimit:()J
            lstore 3 /* limit */
        start local 3 // long limit
         3: .line 90
            lload 1 /* usage */
            lconst_0
            lcmp
            ifle 5
            lload 3 /* limit */
            lconst_0
            lcmp
            iflt 5
         4: .line 91
            lload 3 /* limit */
            lload 1 /* usage */
            lsub
            lreturn
        end local 3 // long limit
        end local 1 // long usage
         5: .line 94
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual sun.management.OperatingSystemImpl.getFreePhysicalMemorySize0:()J
            lreturn
        end local 0 // sun.management.OperatingSystemImpl this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    6     0   this  Lsun/management/OperatingSystemImpl;
            2    5     1  usage  J
            3    5     3  limit  J

  public long getTotalPhysicalMemorySize();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=1
        start local 0 // sun.management.OperatingSystemImpl this
         0: .line 98
            aload 0 /* this */
            getfield sun.management.OperatingSystemImpl.containerMetrics:Ljdk/internal/platform/Metrics;
            ifnull 4
         1: .line 99
            aload 0 /* this */
            getfield sun.management.OperatingSystemImpl.containerMetrics:Ljdk/internal/platform/Metrics;
            invokeinterface jdk.internal.platform.Metrics.getMemoryLimit:()J
            lstore 1 /* limit */
        start local 1 // long limit
         2: .line 100
            lload 1 /* limit */
            lconst_0
            lcmp
            iflt 4
         3: .line 101
            lload 1 /* limit */
            lreturn
        end local 1 // long limit
         4: .line 104
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual sun.management.OperatingSystemImpl.getTotalPhysicalMemorySize0:()J
            lreturn
        end local 0 // sun.management.OperatingSystemImpl this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    5     0   this  Lsun/management/OperatingSystemImpl;
            2    4     1  limit  J

  public double getSystemCpuLoad();
    descriptor: ()D
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=13, args_size=1
        start local 0 // sun.management.OperatingSystemImpl this
         0: .line 108
            aload 0 /* this */
            getfield sun.management.OperatingSystemImpl.containerMetrics:Ljdk/internal/platform/Metrics;
            ifnull 28
         1: .line 109
            aload 0 /* this */
            getfield sun.management.OperatingSystemImpl.containerMetrics:Ljdk/internal/platform/Metrics;
            invokeinterface jdk.internal.platform.Metrics.getCpuQuota:()J
            lstore 1 /* quota */
        start local 1 // long quota
         2: .line 110
            lload 1 /* quota */
            lconst_0
            lcmp
            ifle 13
         3: .line 111
            aload 0 /* this */
            getfield sun.management.OperatingSystemImpl.containerMetrics:Ljdk/internal/platform/Metrics;
            invokeinterface jdk.internal.platform.Metrics.getCpuPeriod:()J
            lstore 3 /* periodLength */
        start local 3 // long periodLength
         4: .line 112
            aload 0 /* this */
            getfield sun.management.OperatingSystemImpl.containerMetrics:Ljdk/internal/platform/Metrics;
            invokeinterface jdk.internal.platform.Metrics.getCpuNumPeriods:()J
            lstore 5 /* numPeriods */
        start local 5 // long numPeriods
         5: .line 113
            aload 0 /* this */
            getfield sun.management.OperatingSystemImpl.containerMetrics:Ljdk/internal/platform/Metrics;
            invokeinterface jdk.internal.platform.Metrics.getCpuUsage:()J
            lstore 7 /* usageNanos */
        start local 7 // long usageNanos
         6: .line 114
            lload 3 /* periodLength */
            lconst_0
            lcmp
            ifle 12
            lload 5 /* numPeriods */
            lconst_0
            lcmp
            ifle 12
            lload 7 /* usageNanos */
            lconst_0
            lcmp
            ifle 12
         7: .line 115
            getstatic java.util.concurrent.TimeUnit.MICROSECONDS:Ljava/util/concurrent/TimeUnit;
            lload 3 /* periodLength */
            lload 5 /* numPeriods */
            lmul
            invokevirtual java.util.concurrent.TimeUnit.toNanos:(J)J
            lstore 9 /* elapsedNanos */
        start local 9 // long elapsedNanos
         8: .line 116
            lload 7 /* usageNanos */
            l2d
            lload 9 /* elapsedNanos */
            l2d
            ddiv
            dstore 11 /* systemLoad */
        start local 11 // double systemLoad
         9: .line 118
            dconst_0
            dload 11 /* systemLoad */
            invokestatic java.lang.Math.max:(DD)D
            dstore 11 /* systemLoad */
        10: .line 119
            dconst_1
            dload 11 /* systemLoad */
            invokestatic java.lang.Math.min:(DD)D
            dstore 11 /* systemLoad */
        11: .line 120
            dload 11 /* systemLoad */
            dreturn
        end local 11 // double systemLoad
        end local 9 // long elapsedNanos
        12: .line 122
      StackMap locals: sun.management.OperatingSystemImpl long long long long
      StackMap stack:
            ldc -1.0
            dreturn
        end local 7 // long usageNanos
        end local 5 // long numPeriods
        end local 3 // long periodLength
        13: .line 128
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual sun.management.OperatingSystemImpl.isCpuSetSameAsHostCpuSet:()Z
            ifeq 15
        14: .line 129
            aload 0 /* this */
            invokevirtual sun.management.OperatingSystemImpl.getSystemCpuLoad0:()D
            dreturn
        15: .line 131
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.management.OperatingSystemImpl.containerMetrics:Ljdk/internal/platform/Metrics;
            invokeinterface jdk.internal.platform.Metrics.getEffectiveCpuSetCpus:()[I
            astore 3 /* cpuSet */
        start local 3 // int[] cpuSet
        16: .line 132
            aload 3 /* cpuSet */
            ifnull 27
            aload 3 /* cpuSet */
            arraylength
            ifle 27
        17: .line 133
            dconst_0
            dstore 4 /* systemLoad */
        start local 4 // double systemLoad
        18: .line 134
            aload 3 /* cpuSet */
            dup
            astore 9
            arraylength
            istore 8
            iconst_0
            istore 7
            goto 25
      StackMap locals: sun.management.OperatingSystemImpl long int[] double top int int int[]
      StackMap stack:
        19: aload 9
            iload 7
            iaload
            istore 6 /* cpu */
        start local 6 // int cpu
        20: .line 135
            aload 0 /* this */
            iload 6 /* cpu */
            invokevirtual sun.management.OperatingSystemImpl.getSingleCpuLoad0:(I)D
            dstore 10 /* cpuLoad */
        start local 10 // double cpuLoad
        21: .line 136
            dload 10 /* cpuLoad */
            dconst_0
            dcmpg
            ifge 23
        22: .line 137
            ldc -1.0
            dreturn
        23: .line 139
      StackMap locals: sun.management.OperatingSystemImpl long int[] double int int int int[] double
      StackMap stack:
            dload 4 /* systemLoad */
            dload 10 /* cpuLoad */
            dadd
            dstore 4 /* systemLoad */
        end local 10 // double cpuLoad
        end local 6 // int cpu
        24: .line 134
            iinc 7 1
      StackMap locals: sun.management.OperatingSystemImpl long int[] double top int int int[]
      StackMap stack:
        25: iload 7
            iload 8
            if_icmplt 19
        26: .line 141
            dload 4 /* systemLoad */
            aload 3 /* cpuSet */
            arraylength
            i2d
            ddiv
            dreturn
        end local 4 // double systemLoad
        27: .line 143
      StackMap locals: sun.management.OperatingSystemImpl long int[]
      StackMap stack:
            ldc -1.0
            dreturn
        end local 3 // int[] cpuSet
        end local 1 // long quota
        28: .line 147
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual sun.management.OperatingSystemImpl.getSystemCpuLoad0:()D
            dreturn
        end local 0 // sun.management.OperatingSystemImpl this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   29     0          this  Lsun/management/OperatingSystemImpl;
            2   28     1         quota  J
            4   13     3  periodLength  J
            5   13     5    numPeriods  J
            6   13     7    usageNanos  J
            8   12     9  elapsedNanos  J
            9   12    11    systemLoad  D
           16   28     3        cpuSet  [I
           18   27     4    systemLoad  D
           20   24     6           cpu  I
           21   24    10       cpuLoad  D

  private boolean isCpuSetSameAsHostCpuSet();
    descriptor: ()Z
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // sun.management.OperatingSystemImpl this
         0: .line 151
            aload 0 /* this */
            getfield sun.management.OperatingSystemImpl.containerMetrics:Ljdk/internal/platform/Metrics;
            ifnull 3
         1: .line 152
            aload 0 /* this */
            getfield sun.management.OperatingSystemImpl.containerMetrics:Ljdk/internal/platform/Metrics;
            invokeinterface jdk.internal.platform.Metrics.getCpuSetCpus:()[I
            arraylength
            aload 0 /* this */
            invokevirtual sun.management.OperatingSystemImpl.getHostConfiguredCpuCount0:()I
            if_icmpne 2
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         2: iconst_0
            ireturn
         3: .line 154
      StackMap locals:
      StackMap stack:
            iconst_0
            ireturn
        end local 0 // sun.management.OperatingSystemImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lsun/management/OperatingSystemImpl;

  public native long getCommittedVirtualMemorySize();
    descriptor: ()J
    flags: (0x0101) ACC_PUBLIC, ACC_NATIVE

  private native long getTotalSwapSpaceSize0();
    descriptor: ()J
    flags: (0x0102) ACC_PRIVATE, ACC_NATIVE

  private native long getFreeSwapSpaceSize0();
    descriptor: ()J
    flags: (0x0102) ACC_PRIVATE, ACC_NATIVE

  public native long getProcessCpuTime();
    descriptor: ()J
    flags: (0x0101) ACC_PUBLIC, ACC_NATIVE

  private native long getFreePhysicalMemorySize0();
    descriptor: ()J
    flags: (0x0102) ACC_PRIVATE, ACC_NATIVE

  private native long getTotalPhysicalMemorySize0();
    descriptor: ()J
    flags: (0x0102) ACC_PRIVATE, ACC_NATIVE

  public native long getOpenFileDescriptorCount();
    descriptor: ()J
    flags: (0x0101) ACC_PUBLIC, ACC_NATIVE

  public native long getMaxFileDescriptorCount();
    descriptor: ()J
    flags: (0x0101) ACC_PUBLIC, ACC_NATIVE

  private native double getSystemCpuLoad0();
    descriptor: ()D
    flags: (0x0102) ACC_PRIVATE, ACC_NATIVE

  public native double getProcessCpuLoad();
    descriptor: ()D
    flags: (0x0101) ACC_PUBLIC, ACC_NATIVE

  private native double getSingleCpuLoad0(int);
    descriptor: (I)D
    flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
    MethodParameters:
        Name  Flags
      cpuNum  

  private native int getHostConfiguredCpuCount0();
    descriptor: ()I
    flags: (0x0102) ACC_PRIVATE, ACC_NATIVE

  private static native void initialize();
    descriptor: ()V
    flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
}
SourceFile: "OperatingSystemImpl.java"