class jdk.internal.loader.NativeLibraries$Unloader implements java.lang.Runnable
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: jdk.internal.loader.NativeLibraries$Unloader
  super_class: java.lang.Object
{
  static final jdk.internal.loader.NativeLibraries$NativeLibraryImpl UNLOADER;
    descriptor: Ljdk/internal/loader/NativeLibraries$NativeLibraryImpl;
    flags: (0x0018) ACC_STATIC, ACC_FINAL

  final java.lang.String name;
    descriptor: Ljava/lang/String;
    flags: (0x0010) ACC_FINAL

  final long handle;
    descriptor: J
    flags: (0x0010) ACC_FINAL

  final boolean isBuiltin;
    descriptor: Z
    flags: (0x0010) ACC_FINAL

  final boolean isJNI;
    descriptor: Z
    flags: (0x0010) ACC_FINAL

  static final boolean $assertionsDisabled;
    descriptor: Z
    flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=6, locals=0, args_size=0
         0: .line 391
            ldc Ljdk/internal/loader/NativeLibraries;
            invokevirtual java.lang.Class.desiredAssertionStatus:()Z
            ifne 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: putstatic jdk.internal.loader.NativeLibraries$Unloader.$assertionsDisabled:Z
         3: .line 395
            new jdk.internal.loader.NativeLibraries$NativeLibraryImpl
            dup
            aconst_null
            ldc "dummy"
            iconst_0
            iconst_0
            invokespecial jdk.internal.loader.NativeLibraries$NativeLibraryImpl.<init>:(Ljava/lang/Class;Ljava/lang/String;ZZ)V
         4: .line 394
            putstatic jdk.internal.loader.NativeLibraries$Unloader.UNLOADER:Ljdk/internal/loader/NativeLibraries$NativeLibraryImpl;
         5: .line 395
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  void <init>(java.lang.String, long, boolean, boolean);
    descriptor: (Ljava/lang/String;JZZ)V
    flags: (0x0000) 
    Code:
      stack=5, locals=6, args_size=5
        start local 0 // jdk.internal.loader.NativeLibraries$Unloader this
        start local 1 // java.lang.String name
        start local 2 // long handle
        start local 4 // boolean isBuiltin
        start local 5 // boolean isJNI
         0: .line 402
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 403
            getstatic jdk.internal.loader.NativeLibraries$Unloader.$assertionsDisabled:Z
            ifne 2
            iload 4 /* isBuiltin */
            ifeq 2
            iload 5 /* isJNI */
            ifne 2
            new java.lang.AssertionError
            dup
            ldc "a builtin native library must be JNI library"
            invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
            athrow
         2: .line 404
      StackMap locals: jdk.internal.loader.NativeLibraries$Unloader java.lang.String long int int
      StackMap stack:
            lload 2 /* handle */
            lconst_0
            lcmp
            ifne 6
         3: .line 405
            new java.lang.IllegalArgumentException
            dup
         4: .line 406
            new java.lang.StringBuilder
            dup
            ldc "Invalid handle for native library "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* name */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
         5: .line 405
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         6: .line 409
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* name */
            putfield jdk.internal.loader.NativeLibraries$Unloader.name:Ljava/lang/String;
         7: .line 410
            aload 0 /* this */
            lload 2 /* handle */
            putfield jdk.internal.loader.NativeLibraries$Unloader.handle:J
         8: .line 411
            aload 0 /* this */
            iload 4 /* isBuiltin */
            putfield jdk.internal.loader.NativeLibraries$Unloader.isBuiltin:Z
         9: .line 412
            aload 0 /* this */
            iload 5 /* isJNI */
            putfield jdk.internal.loader.NativeLibraries$Unloader.isJNI:Z
        10: .line 413
            return
        end local 5 // boolean isJNI
        end local 4 // boolean isBuiltin
        end local 2 // long handle
        end local 1 // java.lang.String name
        end local 0 // jdk.internal.loader.NativeLibraries$Unloader this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   11     0       this  Ljdk/internal/loader/NativeLibraries$Unloader;
            0   11     1       name  Ljava/lang/String;
            0   11     2     handle  J
            0   11     4  isBuiltin  Z
            0   11     5      isJNI  Z
    MethodParameters:
           Name  Flags
      name       
      handle     
      isBuiltin  
      isJNI      

  public void run();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=3, args_size=1
        start local 0 // jdk.internal.loader.NativeLibraries$Unloader this
         0: .line 417
            getstatic jdk.internal.loader.NativeLibraries.loadedLibraryNames:Ljava/util/Set;
            dup
            astore 1
            monitorenter
         1: .line 419
            getstatic jdk.internal.loader.NativeLibraries.loadedLibraryNames:Ljava/util/Set;
            aload 0 /* this */
            getfield jdk.internal.loader.NativeLibraries$Unloader.name:Ljava/lang/String;
            invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
            ifne 3
         2: .line 420
            new java.lang.IllegalStateException
            dup
            new java.lang.StringBuilder
            dup
            aload 0 /* this */
            getfield jdk.internal.loader.NativeLibraries$Unloader.name:Ljava/lang/String;
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc " has already been unloaded"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 422
      StackMap locals: java.util.Set
      StackMap stack:
            getstatic jdk.internal.loader.NativeLibraries.nativeLibraryContext:Ljava/util/Deque;
            getstatic jdk.internal.loader.NativeLibraries$Unloader.UNLOADER:Ljdk/internal/loader/NativeLibraries$NativeLibraryImpl;
            invokeinterface java.util.Deque.push:(Ljava/lang/Object;)V
         4: .line 424
            aload 0 /* this */
            getfield jdk.internal.loader.NativeLibraries$Unloader.name:Ljava/lang/String;
            aload 0 /* this */
            getfield jdk.internal.loader.NativeLibraries$Unloader.isBuiltin:Z
            aload 0 /* this */
            getfield jdk.internal.loader.NativeLibraries$Unloader.isJNI:Z
            aload 0 /* this */
            getfield jdk.internal.loader.NativeLibraries$Unloader.handle:J
            invokestatic jdk.internal.loader.NativeLibraries.unload:(Ljava/lang/String;ZZJ)V
         5: .line 425
            goto 9
      StackMap locals:
      StackMap stack: java.lang.Throwable
         6: astore 2
         7: .line 426
            getstatic jdk.internal.loader.NativeLibraries.nativeLibraryContext:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            pop
         8: .line 427
            aload 2
            athrow
         9: .line 426
      StackMap locals:
      StackMap stack:
            getstatic jdk.internal.loader.NativeLibraries.nativeLibraryContext:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            pop
        10: .line 417
            aload 1
            monitorexit
        11: goto 14
      StackMap locals:
      StackMap stack: java.lang.Throwable
        12: aload 1
            monitorexit
        13: athrow
        14: .line 429
      StackMap locals:
      StackMap stack:
            return
        end local 0 // jdk.internal.loader.NativeLibraries$Unloader this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   15     0  this  Ljdk/internal/loader/NativeLibraries$Unloader;
      Exception table:
        from    to  target  type
           4     6       6  any
           1    11      12  any
          12    13      12  any
}
SourceFile: "NativeLibraries.java"
NestHost: jdk.internal.loader.NativeLibraries
InnerClasses:
  NativeLibraryImpl = jdk.internal.loader.NativeLibraries$NativeLibraryImpl of jdk.internal.loader.NativeLibraries
  Unloader = jdk.internal.loader.NativeLibraries$Unloader of jdk.internal.loader.NativeLibraries