final class com.oracle.svm.core.posix.PosixNativeLibrarySupport extends com.oracle.svm.core.jdk.JNIPlatformNativeLibrarySupport
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: com.oracle.svm.core.posix.PosixNativeLibrarySupport
  super_class: com.oracle.svm.core.jdk.JNIPlatformNativeLibrarySupport
{
  private void <init>();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.oracle.svm.core.posix.PosixNativeLibrarySupport this
         0: .line 71
            aload 0 /* this */
            invokespecial com.oracle.svm.core.jdk.JNIPlatformNativeLibrarySupport.<init>:()V
         1: .line 72
            return
        end local 0 // com.oracle.svm.core.posix.PosixNativeLibrarySupport this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/oracle/svm/core/posix/PosixNativeLibrarySupport;
    RuntimeVisibleAnnotations: 
      org.graalvm.nativeimage.Platforms(value = {Lorg/graalvm/nativeimage/Platform$HOSTED_ONLY;})

  static void initialize();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=3, locals=0, args_size=0
         0: .line 75
            ldc Lcom/oracle/svm/core/jdk/PlatformNativeLibrarySupport;
            new com.oracle.svm.core.posix.PosixNativeLibrarySupport
            dup
            invokespecial com.oracle.svm.core.posix.PosixNativeLibrarySupport.<init>:()V
            invokestatic org.graalvm.nativeimage.ImageSingletons.add:(Ljava/lang/Class;Ljava/lang/Object;)V
         1: .line 76
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public boolean initializeBuiltinLibraries();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=1
        start local 0 // com.oracle.svm.core.posix.PosixNativeLibrarySupport this
         0: .line 80
            aload 0 /* this */
            invokevirtual com.oracle.svm.core.posix.PosixNativeLibrarySupport.isFirstIsolate:()Z
            ifeq 11
         1: .line 81
            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
         2: .line 82
            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
            ifne 10
         3: .line 83
            aload 1 /* rlp */
            invokeinterface com.oracle.svm.core.posix.headers.Resource$rlimit.rlim_max:()Lorg/graalvm/word/UnsignedWord;
            astore 2 /* newValue */
        start local 2 // org.graalvm.word.UnsignedWord newValue
         4: .line 84
            ldc Lorg/graalvm/nativeimage/Platform$DARWIN;
            invokestatic org.graalvm.nativeimage.Platform.includedIn:(Ljava/lang/Class;)Z
            ifeq 6
         5: .line 87
            invokestatic com.oracle.svm.core.posix.headers.darwin.DarwinSyslimits.OPEN_MAX:()I
            invokestatic org.graalvm.word.WordFactory.unsigned:(I)Lorg/graalvm/word/UnsignedWord;
            astore 2 /* newValue */
         6: .line 89
      StackMap locals: com.oracle.svm.core.posix.headers.Resource$rlimit org.graalvm.word.UnsignedWord
      StackMap stack:
            aload 1 /* rlp */
            aload 2 /* newValue */
            invokeinterface com.oracle.svm.core.posix.headers.Resource$rlimit.set_rlim_cur:(Lorg/graalvm/word/UnsignedWord;)V
         7: .line 90
            invokestatic com.oracle.svm.core.posix.headers.Resource.RLIMIT_NOFILE:()I
            aload 1 /* rlp */
            invokestatic com.oracle.svm.core.posix.headers.Resource.setrlimit:(ILcom/oracle/svm/core/posix/headers/Resource$rlimit;)I
            ifeq 11
         8: .line 91
            invokestatic com.oracle.svm.core.log.Log.log:()Lcom/oracle/svm/core/log/Log;
            ldc "setrlimit to increase file descriptor limit failed, errno "
            invokevirtual com.oracle.svm.core.log.Log.string:(Ljava/lang/String;)Lcom/oracle/svm/core/log/Log;
            invokestatic com.oracle.svm.core.CErrorNumber.getCErrorNumber:()I
            invokevirtual com.oracle.svm.core.log.Log.signed:(I)Lcom/oracle/svm/core/log/Log;
            invokevirtual com.oracle.svm.core.log.Log.newline:()Lcom/oracle/svm/core/log/Log;
            pop
        end local 2 // org.graalvm.word.UnsignedWord newValue
         9: .line 93
            goto 11
        10: .line 94
      StackMap locals:
      StackMap stack:
            invokestatic com.oracle.svm.core.log.Log.log:()Lcom/oracle/svm/core/log/Log;
            ldc "getrlimit failed, errno "
            invokevirtual com.oracle.svm.core.log.Log.string:(Ljava/lang/String;)Lcom/oracle/svm/core/log/Log;
            invokestatic com.oracle.svm.core.CErrorNumber.getCErrorNumber:()I
            invokevirtual com.oracle.svm.core.log.Log.signed:(I)Lcom/oracle/svm/core/log/Log;
            invokevirtual com.oracle.svm.core.log.Log.newline:()Lcom/oracle/svm/core/log/Log;
            pop
        end local 1 // com.oracle.svm.core.posix.headers.Resource$rlimit rlp
        11: .line 98
      StackMap locals:
      StackMap stack:
            ldc Lorg/graalvm/nativeimage/impl/InternalPlatform$PLATFORM_JNI;
            invokestatic org.graalvm.nativeimage.Platform.includedIn:(Ljava/lang/Class;)Z
            ifeq 20
        12: .line 100
            aload 0 /* this */
            invokevirtual com.oracle.svm.core.posix.PosixNativeLibrarySupport.loadJavaLibrary:()V
        13: .line 101
            aload 0 /* this */
            invokevirtual com.oracle.svm.core.posix.PosixNativeLibrarySupport.loadZipLibrary:()V
        14: .line 102
            aload 0 /* this */
            invokevirtual com.oracle.svm.core.posix.PosixNativeLibrarySupport.loadNetLibrary:()V
        15: .line 108
            ldc "jdk.lang.Process.launchMechanism"
            ldc "FORK"
            invokestatic java.lang.System.setProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
            pop
        16: .line 110
            goto 20
      StackMap locals:
      StackMap stack: java.lang.UnsatisfiedLinkError
        17: astore 1 /* e */
        start local 1 // java.lang.UnsatisfiedLinkError e
        18: .line 111
            invokestatic com.oracle.svm.core.log.Log.log:()Lcom/oracle/svm/core/log/Log;
            new java.lang.StringBuilder
            dup
            ldc "System.loadLibrary failed, "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* e */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual com.oracle.svm.core.log.Log.string:(Ljava/lang/String;)Lcom/oracle/svm/core/log/Log;
            invokevirtual com.oracle.svm.core.log.Log.newline:()Lcom/oracle/svm/core/log/Log;
            pop
        19: .line 112
            iconst_0
            ireturn
        end local 1 // java.lang.UnsatisfiedLinkError e
        20: .line 115
      StackMap locals:
      StackMap stack:
            iconst_1
            ireturn
        end local 0 // com.oracle.svm.core.posix.PosixNativeLibrarySupport this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   21     0      this  Lcom/oracle/svm/core/posix/PosixNativeLibrarySupport;
            2   11     1       rlp  Lcom/oracle/svm/core/posix/headers/Resource$rlimit;
            4    9     2  newValue  Lorg/graalvm/word/UnsignedWord;
           18   20     1         e  Ljava/lang/UnsatisfiedLinkError;
      Exception table:
        from    to  target  type
          12    16      17  Class java.lang.UnsatisfiedLinkError

  protected void loadJavaLibrary();
    descriptor: ()V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.oracle.svm.core.posix.PosixNativeLibrarySupport this
         0: .line 120
            aload 0 /* this */
            invokespecial com.oracle.svm.core.jdk.JNIPlatformNativeLibrarySupport.loadJavaLibrary:()V
         1: .line 121
            invokestatic com.oracle.svm.core.posix.Target_java_io_UnixFileSystem_JNI.initIDs:()V
         2: .line 122
            return
        end local 0 // com.oracle.svm.core.posix.PosixNativeLibrarySupport this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lcom/oracle/svm/core/posix/PosixNativeLibrarySupport;

  protected void loadNetLibrary();
    descriptor: ()V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.oracle.svm.core.posix.PosixNativeLibrarySupport this
         0: .line 125
            aload 0 /* this */
            invokevirtual com.oracle.svm.core.posix.PosixNativeLibrarySupport.isFirstIsolate:()Z
            ifeq 3
         1: .line 131
            ldc "net"
            invokestatic java.lang.System.loadLibrary:(Ljava/lang/String;)V
         2: .line 132
            goto 4
         3: .line 133
      StackMap locals:
      StackMap stack:
            invokestatic com.oracle.svm.core.jdk.NativeLibrarySupport.singleton:()Lcom/oracle/svm/core/jdk/NativeLibrarySupport;
            ldc "net"
            invokevirtual com.oracle.svm.core.jdk.NativeLibrarySupport.registerInitializedBuiltinLibrary:(Ljava/lang/String;)V
         4: .line 135
      StackMap locals:
      StackMap stack:
            return
        end local 0 // com.oracle.svm.core.posix.PosixNativeLibrarySupport this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lcom/oracle/svm/core/posix/PosixNativeLibrarySupport;

  public com.oracle.svm.core.posix.PosixNativeLibrarySupport$PosixNativeLibrary createLibrary(java.lang.String, boolean);
    descriptor: (Ljava/lang/String;Z)Lcom/oracle/svm/core/posix/PosixNativeLibrarySupport$PosixNativeLibrary;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=3, args_size=3
        start local 0 // com.oracle.svm.core.posix.PosixNativeLibrarySupport this
        start local 1 // java.lang.String canonical
        start local 2 // boolean builtIn
         0: .line 139
            new com.oracle.svm.core.posix.PosixNativeLibrarySupport$PosixNativeLibrary
            dup
            aload 0 /* this */
            aload 1 /* canonical */
            iload 2 /* builtIn */
            invokespecial com.oracle.svm.core.posix.PosixNativeLibrarySupport$PosixNativeLibrary.<init>:(Lcom/oracle/svm/core/posix/PosixNativeLibrarySupport;Ljava/lang/String;Z)V
            areturn
        end local 2 // boolean builtIn
        end local 1 // java.lang.String canonical
        end local 0 // com.oracle.svm.core.posix.PosixNativeLibrarySupport this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    1     0       this  Lcom/oracle/svm/core/posix/PosixNativeLibrarySupport;
            0    1     1  canonical  Ljava/lang/String;
            0    1     2    builtIn  Z
    MethodParameters:
           Name  Flags
      canonical  
      builtIn    

  public org.graalvm.word.PointerBase findBuiltinSymbol(java.lang.String);
    descriptor: (Ljava/lang/String;)Lorg/graalvm/word/PointerBase;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=5, args_size=2
        start local 0 // com.oracle.svm.core.posix.PosixNativeLibrarySupport this
        start local 1 // java.lang.String name
         0: .line 144
            aconst_null
            astore 2
            aconst_null
            astore 3
         1: aload 1 /* name */
            invokestatic org.graalvm.nativeimage.c.type.CTypeConversion.toCString:(Ljava/lang/CharSequence;)Lorg/graalvm/nativeimage/c/type/CTypeConversion$CCharPointerHolder;
            astore 4 /* symbol */
        start local 4 // org.graalvm.nativeimage.c.type.CTypeConversion$CCharPointerHolder symbol
         2: .line 145
            invokestatic com.oracle.svm.core.posix.headers.Dlfcn.RTLD_DEFAULT:()Lorg/graalvm/word/PointerBase;
            aload 4 /* symbol */
            invokeinterface org.graalvm.nativeimage.c.type.CTypeConversion$CCharPointerHolder.get:()Lorg/graalvm/nativeimage/c/type/CCharPointer;
            invokestatic com.oracle.svm.core.posix.headers.Dlfcn.dlsym:(Lorg/graalvm/word/PointerBase;Lorg/graalvm/nativeimage/c/type/CCharPointer;)Lorg/graalvm/word/PointerBase;
         3: .line 146
            aload 4 /* symbol */
            ifnull 4
            aload 4 /* symbol */
            invokeinterface org.graalvm.nativeimage.c.type.CTypeConversion$CCharPointerHolder.close:()V
         4: .line 145
      StackMap locals: com.oracle.svm.core.posix.PosixNativeLibrarySupport java.lang.String java.lang.Throwable java.lang.Throwable org.graalvm.nativeimage.c.type.CTypeConversion$CCharPointerHolder
      StackMap stack: org.graalvm.word.PointerBase
            areturn
      StackMap locals:
      StackMap stack: java.lang.Throwable
         5: astore 2
         6: .line 146
            aload 4 /* symbol */
            ifnull 7
            aload 4 /* symbol */
            invokeinterface org.graalvm.nativeimage.c.type.CTypeConversion$CCharPointerHolder.close:()V
        end local 4 // org.graalvm.nativeimage.c.type.CTypeConversion$CCharPointerHolder symbol
      StackMap locals:
      StackMap stack:
         7: aload 2
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
         8: astore 3
            aload 2
            ifnonnull 9
            aload 3
            astore 2
            goto 10
      StackMap locals:
      StackMap stack:
         9: aload 2
            aload 3
            if_acmpeq 10
            aload 2
            aload 3
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        10: aload 2
            athrow
        end local 1 // java.lang.String name
        end local 0 // com.oracle.svm.core.posix.PosixNativeLibrarySupport this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   11     0    this  Lcom/oracle/svm/core/posix/PosixNativeLibrarySupport;
            0   11     1    name  Ljava/lang/String;
            2    7     4  symbol  Lorg/graalvm/nativeimage/c/type/CTypeConversion$CCharPointerHolder;
      Exception table:
        from    to  target  type
           2     3       5  any
           1     4       8  any
           5     8       8  any
    MethodParameters:
      Name  Flags
      name  

  public com.oracle.svm.core.jdk.PlatformNativeLibrarySupport$NativeLibrary createLibrary(java.lang.String, boolean);
    descriptor: (Ljava/lang/String;Z)Lcom/oracle/svm/core/jdk/PlatformNativeLibrarySupport$NativeLibrary;
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=3, locals=3, args_size=3
         0: .line 1
            aload 0
            aload 1
            iload 2
            invokevirtual com.oracle.svm.core.posix.PosixNativeLibrarySupport.createLibrary:(Ljava/lang/String;Z)Lcom/oracle/svm/core/posix/PosixNativeLibrarySupport$PosixNativeLibrary;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
}
SourceFile: "PosixNativeLibraryFeature.java"
NestMembers:
  com.oracle.svm.core.posix.PosixNativeLibrarySupport$PosixNativeLibrary
InnerClasses:
  public abstract NativeLibrary = com.oracle.svm.core.jdk.PlatformNativeLibrarySupport$NativeLibrary of com.oracle.svm.core.jdk.PlatformNativeLibrarySupport
  PosixNativeLibrary = com.oracle.svm.core.posix.PosixNativeLibrarySupport$PosixNativeLibrary of com.oracle.svm.core.posix.PosixNativeLibrarySupport
  public abstract rlimit = com.oracle.svm.core.posix.headers.Resource$rlimit of com.oracle.svm.core.posix.headers.Resource
  public abstract DARWIN = org.graalvm.nativeimage.Platform$DARWIN of org.graalvm.nativeimage.Platform
  public abstract CCharPointerHolder = org.graalvm.nativeimage.c.type.CTypeConversion$CCharPointerHolder of org.graalvm.nativeimage.c.type.CTypeConversion
  public abstract PLATFORM_JNI = org.graalvm.nativeimage.impl.InternalPlatform$PLATFORM_JNI of org.graalvm.nativeimage.impl.InternalPlatform