class com.oracle.svm.core.posix.PosixSubstrateOperatingSystemMXBean extends com.oracle.svm.core.jdk.management.SubstrateOperatingSystemMXBean implements com.sun.management.UnixOperatingSystemMXBean
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: com.oracle.svm.core.posix.PosixSubstrateOperatingSystemMXBean
  super_class: com.oracle.svm.core.jdk.management.SubstrateOperatingSystemMXBean
{
  void <init>();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.oracle.svm.core.posix.PosixSubstrateOperatingSystemMXBean this
         0: .line 49
            aload 0 /* this */
            invokespecial com.oracle.svm.core.jdk.management.SubstrateOperatingSystemMXBean.<init>:()V
            return
        end local 0 // com.oracle.svm.core.posix.PosixSubstrateOperatingSystemMXBean this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/oracle/svm/core/posix/PosixSubstrateOperatingSystemMXBean;

  public long getProcessCpuTime();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=6, args_size=1
        start local 0 // com.oracle.svm.core.posix.PosixSubstrateOperatingSystemMXBean this
         0: .line 61
            invokestatic com.oracle.svm.core.posix.headers.Unistd._SC_CLK_TCK:()I
            invokestatic com.oracle.svm.core.posix.headers.Unistd.sysconf:(I)J
            lstore 1 /* clkTck */
        start local 1 // long clkTck
         1: .line 62
            lload 1 /* clkTck */
            ldc -1
            lcmp
            ifne 3
         2: .line 64
            ldc -1
            lreturn
         3: .line 66
      StackMap locals: long
      StackMap stack:
            getstatic java.util.concurrent.TimeUnit.SECONDS:Ljava/util/concurrent/TimeUnit;
            lconst_1
            invokevirtual java.util.concurrent.TimeUnit.toNanos:(J)J
            lload 1 /* clkTck */
            ldiv
            lstore 3 /* nsPerTick */
        start local 3 // long nsPerTick
         4: .line 67
            ldc Lcom/oracle/svm/core/posix/headers/Times$tms;
            invokestatic org.graalvm.nativeimage.StackValue.get:(Ljava/lang/Class;)Lorg/graalvm/word/PointerBase;
            checkcast com.oracle.svm.core.posix.headers.Times$tms
            astore 5 /* time */
        start local 5 // com.oracle.svm.core.posix.headers.Times$tms time
         5: .line 68
            aload 5 /* time */
            invokestatic com.oracle.svm.core.posix.headers.Times.times:(Lcom/oracle/svm/core/posix/headers/Times$tms;)J
            pop2
         6: .line 69
            aload 5 /* time */
            invokeinterface com.oracle.svm.core.posix.headers.Times$tms.tms_utime:()J
            aload 5 /* time */
            invokeinterface com.oracle.svm.core.posix.headers.Times$tms.tms_stime:()J
            ladd
            lload 3 /* nsPerTick */
            lmul
            lreturn
        end local 5 // com.oracle.svm.core.posix.headers.Times$tms time
        end local 3 // long nsPerTick
        end local 1 // long clkTck
        end local 0 // com.oracle.svm.core.posix.PosixSubstrateOperatingSystemMXBean this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    7     0       this  Lcom/oracle/svm/core/posix/PosixSubstrateOperatingSystemMXBean;
            1    7     1     clkTck  J
            4    7     3  nsPerTick  J
            5    7     5       time  Lcom/oracle/svm/core/posix/headers/Times$tms;

  public long getMaxFileDescriptorCount();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // com.oracle.svm.core.posix.PosixSubstrateOperatingSystemMXBean this
         0: .line 74
            ldc Lcom/oracle/svm/core/posix/headers/Resource$rlimit;
            invokestatic org.graalvm.nativeimage.StackValue.get:(Ljava/lang/Class;)Lorg/graalvm/word/PointerBase;
            checkcast com.oracle.svm.core.posix.headers.Resource$rlimit
            astore 1 /* rlp */
        start local 1 // com.oracle.svm.core.posix.headers.Resource$rlimit rlp
         1: .line 75
            invokestatic com.oracle.svm.core.posix.headers.Resource.RLIMIT_NOFILE:()I
            aload 1 /* rlp */
            invokestatic com.oracle.svm.core.posix.headers.Resource.getrlimit:(ILcom/oracle/svm/core/posix/headers/Resource$rlimit;)I
            ifge 3
         2: .line 76
            ldc "getrlimit failed"
            invokestatic com.oracle.svm.core.posix.PosixUtils.newIOExceptionWithLastError:(Ljava/lang/String;)Ljava/io/IOException;
            invokestatic com.oracle.svm.core.posix.PosixSubstrateOperatingSystemMXBean.throwUnchecked:(Ljava/lang/Throwable;)V
         3: .line 78
      StackMap locals: com.oracle.svm.core.posix.headers.Resource$rlimit
      StackMap stack:
            aload 1 /* rlp */
            invokeinterface com.oracle.svm.core.posix.headers.Resource$rlimit.rlim_cur:()Lorg/graalvm/word/UnsignedWord;
            invokeinterface org.graalvm.word.UnsignedWord.rawValue:()J
            lreturn
        end local 1 // com.oracle.svm.core.posix.headers.Resource$rlimit rlp
        end local 0 // com.oracle.svm.core.posix.PosixSubstrateOperatingSystemMXBean this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lcom/oracle/svm/core/posix/PosixSubstrateOperatingSystemMXBean;
            1    4     1   rlp  Lcom/oracle/svm/core/posix/headers/Resource$rlimit;

  public long getOpenFileDescriptorCount();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=5, args_size=1
        start local 0 // com.oracle.svm.core.posix.PosixSubstrateOperatingSystemMXBean this
         0: .line 83
            invokestatic com.oracle.svm.core.posix.headers.Unistd._SC_OPEN_MAX:()I
            invokestatic com.oracle.svm.core.posix.headers.Unistd.sysconf:(I)J
            l2i
            istore 1 /* maxFileDescriptor */
        start local 1 // int maxFileDescriptor
         1: .line 84
            lconst_0
            lstore 2 /* count */
        start local 2 // long count
         2: .line 85
            iconst_0
            istore 4 /* i */
        start local 4 // int i
         3: goto 7
         4: .line 86
      StackMap locals: int long int
      StackMap stack:
            iload 4 /* i */
            invokestatic com.oracle.svm.core.posix.PosixSubstrateOperatingSystemMXBean.fstat:(I)I
            ifeq 5
            invokestatic com.oracle.svm.core.CErrorNumber.getCErrorNumber:()I
            invokestatic com.oracle.svm.core.posix.headers.Errno.EBADF:()I
            if_icmpeq 6
         5: .line 87
      StackMap locals:
      StackMap stack:
            lload 2 /* count */
            lconst_1
            ladd
            lstore 2 /* count */
         6: .line 85
      StackMap locals:
      StackMap stack:
            iinc 4 /* i */ 1
      StackMap locals:
      StackMap stack:
         7: iload 4 /* i */
            iload 1 /* maxFileDescriptor */
            if_icmple 4
        end local 4 // int i
         8: .line 90
            lload 2 /* count */
            lreturn
        end local 2 // long count
        end local 1 // int maxFileDescriptor
        end local 0 // com.oracle.svm.core.posix.PosixSubstrateOperatingSystemMXBean this
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0    9     0               this  Lcom/oracle/svm/core/posix/PosixSubstrateOperatingSystemMXBean;
            1    9     1  maxFileDescriptor  I
            2    9     2              count  J
            3    8     4                  i  I

  private static int fstat(int);
    descriptor: (I)I
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // int fd
         0: .line 94
            ldc Lorg/graalvm/nativeimage/Platform$LINUX;
            invokestatic org.graalvm.nativeimage.Platform.includedIn:(Ljava/lang/Class;)Z
            ifeq 3
         1: .line 95
            ldc Lcom/oracle/svm/core/posix/headers/linux/LinuxStat$stat64;
            invokestatic org.graalvm.nativeimage.StackValue.get:(Ljava/lang/Class;)Lorg/graalvm/word/PointerBase;
            checkcast com.oracle.svm.core.posix.headers.linux.LinuxStat$stat64
            astore 1 /* stat */
        start local 1 // com.oracle.svm.core.posix.headers.linux.LinuxStat$stat64 stat
         2: .line 96
            iload 0 /* fd */
            aload 1 /* stat */
            invokestatic com.oracle.svm.core.posix.headers.linux.LinuxStat.fstat64:(ILcom/oracle/svm/core/posix/headers/linux/LinuxStat$stat64;)I
            ireturn
        end local 1 // com.oracle.svm.core.posix.headers.linux.LinuxStat$stat64 stat
         3: .line 97
      StackMap locals:
      StackMap stack:
            ldc Lorg/graalvm/nativeimage/Platform$DARWIN;
            invokestatic org.graalvm.nativeimage.Platform.includedIn:(Ljava/lang/Class;)Z
            ifeq 6
         4: .line 98
            ldc Lcom/oracle/svm/core/posix/headers/darwin/DarwinStat$stat64;
            invokestatic org.graalvm.nativeimage.StackValue.get:(Ljava/lang/Class;)Lorg/graalvm/word/PointerBase;
            checkcast com.oracle.svm.core.posix.headers.darwin.DarwinStat$stat64
            astore 1 /* stat */
        start local 1 // com.oracle.svm.core.posix.headers.darwin.DarwinStat$stat64 stat
         5: .line 99
            iload 0 /* fd */
            aload 1 /* stat */
            invokestatic com.oracle.svm.core.posix.headers.darwin.DarwinStat.fstat64:(ILcom/oracle/svm/core/posix/headers/darwin/DarwinStat$stat64;)I
            ireturn
        end local 1 // com.oracle.svm.core.posix.headers.darwin.DarwinStat$stat64 stat
         6: .line 101
      StackMap locals:
      StackMap stack:
            ldc "Unsupported platform"
            invokestatic com.oracle.svm.core.util.VMError.shouldNotReachHere:(Ljava/lang/String;)Ljava/lang/RuntimeException;
            athrow
        end local 0 // int fd
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0    fd  I
            2    3     1  stat  Lcom/oracle/svm/core/posix/headers/linux/LinuxStat$stat64;
            5    6     1  stat  Lcom/oracle/svm/core/posix/headers/darwin/DarwinStat$stat64;
    MethodParameters:
      Name  Flags
      fd    

  private static <T extends java.lang.Throwable> void throwUnchecked(java.lang.Throwable) throws T;
    descriptor: (Ljava/lang/Throwable;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // java.lang.Throwable exception
         0: .line 107
            aload 0 /* exception */
            athrow
        end local 0 // java.lang.Throwable exception
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    1     0  exception  Ljava/lang/Throwable;
    Exceptions:
      throws java.lang.Throwable
    Signature: <T:Ljava/lang/Throwable;>(Ljava/lang/Throwable;)V^TT;
    MethodParameters:
           Name  Flags
      exception  
}
SourceFile: "PosixSubstrateOperatingSystemMXBean.java"
InnerClasses:
  public abstract rlimit = com.oracle.svm.core.posix.headers.Resource$rlimit of com.oracle.svm.core.posix.headers.Resource
  public abstract tms = com.oracle.svm.core.posix.headers.Times$tms of com.oracle.svm.core.posix.headers.Times
  public abstract stat64 = com.oracle.svm.core.posix.headers.darwin.DarwinStat$stat64 of com.oracle.svm.core.posix.headers.darwin.DarwinStat
  public abstract stat64 = com.oracle.svm.core.posix.headers.linux.LinuxStat$stat64 of com.oracle.svm.core.posix.headers.linux.LinuxStat
  public abstract DARWIN = org.graalvm.nativeimage.Platform$DARWIN of org.graalvm.nativeimage.Platform
  public abstract LINUX = org.graalvm.nativeimage.Platform$LINUX of org.graalvm.nativeimage.Platform