public final class jdk.internal.vm.compiler.libgraal.LibGraalIsolate
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: jdk.internal.vm.compiler.libgraal.LibGraalIsolate
  super_class: java.lang.Object
{
  final long address;
    descriptor: J
    flags: (0x0010) ACC_FINAL

  private static final java.util.Map<java.lang.Long, jdk.internal.vm.compiler.libgraal.LibGraalIsolate> isolates;
    descriptor: Ljava/util/Map;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    Signature: Ljava/util/Map<Ljava/lang/Long;Ljdk/internal/vm/compiler/libgraal/LibGraalIsolate;>;

  private final java.util.Map<java.lang.Class<?>, java.lang.Object> singletons;
    descriptor: Ljava/util/Map;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/Map<Ljava/lang/Class<*>;Ljava/lang/Object;>;

  private final java.util.Set<jdk.internal.vm.compiler.libgraal.LibGraalIsolate$Cleaner> cleaners;
    descriptor: Ljava/util/Set;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/Set<Ljdk/internal/vm/compiler/libgraal/LibGraalIsolate$Cleaner;>;

  private final java.lang.ref.ReferenceQueue<jdk.internal.vm.compiler.libgraal.LibGraalObject> cleanersQueue;
    descriptor: Ljava/lang/ref/ReferenceQueue;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/lang/ref/ReferenceQueue<Ljdk/internal/vm/compiler/libgraal/LibGraalObject;>;

  private boolean destroyed;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  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=2, locals=0, args_size=0
         0: .line 40
            ldc Ljdk/internal/vm/compiler/libgraal/LibGraalIsolate;
            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.vm.compiler.libgraal.LibGraalIsolate.$assertionsDisabled:Z
         3: .line 44
            new java.util.HashMap
            dup
            invokespecial java.util.HashMap.<init>:()V
            putstatic jdk.internal.vm.compiler.libgraal.LibGraalIsolate.isolates:Ljava/util/Map;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  static synchronized jdk.internal.vm.compiler.libgraal.LibGraalIsolate forAddress(long);
    descriptor: (J)Ljdk/internal/vm/compiler/libgraal/LibGraalIsolate;
    flags: (0x0028) ACC_STATIC, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // long isolateAddress
         0: .line 47
            getstatic jdk.internal.vm.compiler.libgraal.LibGraalIsolate.isolates:Ljava/util/Map;
            lload 0 /* isolateAddress */
            invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
            invokedynamic apply()Ljava/util/function/Function;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)Ljava/lang/Object;
                  jdk/internal/vm/compiler/libgraal/LibGraalIsolate.lambda$0(Ljava/lang/Long;)Ljdk/internal/vm/compiler/libgraal/LibGraalIsolate; (6)
                  (Ljava/lang/Long;)Ljdk/internal/vm/compiler/libgraal/LibGraalIsolate;
            invokeinterface java.util.Map.computeIfAbsent:(Ljava/lang/Object;Ljava/util/function/Function;)Ljava/lang/Object;
            checkcast jdk.internal.vm.compiler.libgraal.LibGraalIsolate
            areturn
        end local 0 // long isolateAddress
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    1     0  isolateAddress  J
    MethodParameters:
                Name  Flags
      isolateAddress  

  private void <init>(long);
    descriptor: (J)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // jdk.internal.vm.compiler.libgraal.LibGraalIsolate this
        start local 1 // long address
         0: .line 50
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 82
            aload 0 /* this */
            new java.util.HashMap
            dup
            invokespecial java.util.HashMap.<init>:()V
            putfield jdk.internal.vm.compiler.libgraal.LibGraalIsolate.singletons:Ljava/util/Map;
         2: .line 87
            aload 0 /* this */
            new java.util.concurrent.ConcurrentHashMap
            dup
            invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
            invokestatic java.util.Collections.newSetFromMap:(Ljava/util/Map;)Ljava/util/Set;
            putfield jdk.internal.vm.compiler.libgraal.LibGraalIsolate.cleaners:Ljava/util/Set;
         3: .line 113
            aload 0 /* this */
            new java.lang.ref.ReferenceQueue
            dup
            invokespecial java.lang.ref.ReferenceQueue.<init>:()V
            putfield jdk.internal.vm.compiler.libgraal.LibGraalIsolate.cleanersQueue:Ljava/lang/ref/ReferenceQueue;
         4: .line 51
            aload 0 /* this */
            lload 1 /* address */
            putfield jdk.internal.vm.compiler.libgraal.LibGraalIsolate.address:J
         5: .line 52
            return
        end local 1 // long address
        end local 0 // jdk.internal.vm.compiler.libgraal.LibGraalIsolate this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    6     0     this  Ljdk/internal/vm/compiler/libgraal/LibGraalIsolate;
            0    6     1  address  J
    MethodParameters:
         Name  Flags
      address  

  public static jdk.internal.vm.compiler.libgraal.LibGraalIsolate current();
    descriptor: ()Ljdk/internal/vm/compiler/libgraal/LibGraalIsolate;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 61
            invokestatic jdk.internal.vm.compiler.libgraal.LibGraalScope.current:()Ljdk/internal/vm/compiler/libgraal/LibGraalScope;
            invokevirtual jdk.internal.vm.compiler.libgraal.LibGraalScope.getIsolate:()Ljdk/internal/vm/compiler/libgraal/LibGraalIsolate;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public synchronized <T> T getSingleton(java.lang.Class<T>, java.util.function.Supplier<T>);
    descriptor: (Ljava/lang/Class;Ljava/util/function/Supplier;)Ljava/lang/Object;
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // jdk.internal.vm.compiler.libgraal.LibGraalIsolate this
        start local 1 // java.lang.Class key
        start local 2 // java.util.function.Supplier supplier
         0: .line 76
            aload 0 /* this */
            getfield jdk.internal.vm.compiler.libgraal.LibGraalIsolate.singletons:Ljava/util/Map;
            aload 1 /* key */
            invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
            ifne 2
         1: .line 77
            aload 0 /* this */
            getfield jdk.internal.vm.compiler.libgraal.LibGraalIsolate.singletons:Ljava/util/Map;
            aload 1 /* key */
            aload 2 /* supplier */
            invokeinterface java.util.function.Supplier.get:()Ljava/lang/Object;
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         2: .line 79
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.vm.compiler.libgraal.LibGraalIsolate.singletons:Ljava/util/Map;
            aload 1 /* key */
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            areturn
        end local 2 // java.util.function.Supplier supplier
        end local 1 // java.lang.Class key
        end local 0 // jdk.internal.vm.compiler.libgraal.LibGraalIsolate this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    3     0      this  Ljdk/internal/vm/compiler/libgraal/LibGraalIsolate;
            0    3     1       key  Ljava/lang/Class<TT;>;
            0    3     2  supplier  Ljava/util/function/Supplier<TT;>;
    Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;Ljava/util/function/Supplier<TT;>;)TT;
    MethodParameters:
          Name  Flags
      key       
      supplier  

  void register(jdk.internal.vm.compiler.libgraal.LibGraalObject, long);
    descriptor: (Ljdk/internal/vm/compiler/libgraal/LibGraalObject;J)V
    flags: (0x0000) 
    Code:
      stack=6, locals=5, args_size=3
        start local 0 // jdk.internal.vm.compiler.libgraal.LibGraalIsolate this
        start local 1 // jdk.internal.vm.compiler.libgraal.LibGraalObject obj
        start local 2 // long handle
         0: .line 90
            aload 0 /* this */
            invokevirtual jdk.internal.vm.compiler.libgraal.LibGraalIsolate.cleanHandles:()V
         1: .line 91
            new jdk.internal.vm.compiler.libgraal.LibGraalIsolate$Cleaner
            dup
            aload 0 /* this */
            getfield jdk.internal.vm.compiler.libgraal.LibGraalIsolate.cleanersQueue:Ljava/lang/ref/ReferenceQueue;
            aload 1 /* obj */
            lload 2 /* handle */
            invokespecial jdk.internal.vm.compiler.libgraal.LibGraalIsolate$Cleaner.<init>:(Ljava/lang/ref/ReferenceQueue;Ljdk/internal/vm/compiler/libgraal/LibGraalObject;J)V
            astore 4 /* cref */
        start local 4 // jdk.internal.vm.compiler.libgraal.LibGraalIsolate$Cleaner cref
         2: .line 92
            aload 0 /* this */
            getfield jdk.internal.vm.compiler.libgraal.LibGraalIsolate.cleaners:Ljava/util/Set;
            aload 4 /* cref */
            invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
            pop
         3: .line 93
            return
        end local 4 // jdk.internal.vm.compiler.libgraal.LibGraalIsolate$Cleaner cref
        end local 2 // long handle
        end local 1 // jdk.internal.vm.compiler.libgraal.LibGraalObject obj
        end local 0 // jdk.internal.vm.compiler.libgraal.LibGraalIsolate this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    4     0    this  Ljdk/internal/vm/compiler/libgraal/LibGraalIsolate;
            0    4     1     obj  Ljdk/internal/vm/compiler/libgraal/LibGraalObject;
            0    4     2  handle  J
            2    4     4    cref  Ljdk/internal/vm/compiler/libgraal/LibGraalIsolate$Cleaner;
    MethodParameters:
        Name  Flags
      obj     
      handle  

  private void cleanHandles();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=8, locals=2, args_size=1
        start local 0 // jdk.internal.vm.compiler.libgraal.LibGraalIsolate this
         0: .line 101
            goto 4
        start local 1 // jdk.internal.vm.compiler.libgraal.LibGraalIsolate$Cleaner cleaner
         1: .line 102
      StackMap locals: jdk.internal.vm.compiler.libgraal.LibGraalIsolate$Cleaner
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.vm.compiler.libgraal.LibGraalIsolate.cleaners:Ljava/util/Set;
            aload 1 /* cleaner */
            invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
            pop
         2: .line 103
            aload 1 /* cleaner */
            invokevirtual jdk.internal.vm.compiler.libgraal.LibGraalIsolate$Cleaner.clean:()Z
            ifne 4
         3: .line 104
            new java.lang.Exception
            dup
            ldc "Error releasing handle %d in isolate 0x%x"
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            aload 1 /* cleaner */
            getfield jdk.internal.vm.compiler.libgraal.LibGraalIsolate$Cleaner.handle:J
            invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
            aastore
            dup
            iconst_1
            aload 0 /* this */
            getfield jdk.internal.vm.compiler.libgraal.LibGraalIsolate.address:J
            invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
            aastore
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.Exception.<init>:(Ljava/lang/String;)V
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            invokevirtual java.lang.Exception.printStackTrace:(Ljava/io/PrintStream;)V
        end local 1 // jdk.internal.vm.compiler.libgraal.LibGraalIsolate$Cleaner cleaner
         4: .line 101
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.vm.compiler.libgraal.LibGraalIsolate.cleanersQueue:Ljava/lang/ref/ReferenceQueue;
            invokevirtual java.lang.ref.ReferenceQueue.poll:()Ljava/lang/ref/Reference;
            checkcast jdk.internal.vm.compiler.libgraal.LibGraalIsolate$Cleaner
            dup
            astore 1 /* cleaner */
        start local 1 // jdk.internal.vm.compiler.libgraal.LibGraalIsolate$Cleaner cleaner
         5: ifnonnull 1
         6: .line 107
            return
        end local 1 // jdk.internal.vm.compiler.libgraal.LibGraalIsolate$Cleaner cleaner
        end local 0 // jdk.internal.vm.compiler.libgraal.LibGraalIsolate this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    7     0     this  Ljdk/internal/vm/compiler/libgraal/LibGraalIsolate;
            1    4     1  cleaner  Ljdk/internal/vm/compiler/libgraal/LibGraalIsolate$Cleaner;
            5    7     1  cleaner  Ljdk/internal/vm/compiler/libgraal/LibGraalIsolate$Cleaner;

  static synchronized void remove(jdk.internal.vm.compiler.libgraal.LibGraalIsolate);
    descriptor: (Ljdk/internal/vm/compiler/libgraal/LibGraalIsolate;)V
    flags: (0x0028) ACC_STATIC, ACC_SYNCHRONIZED
    Code:
      stack=5, locals=2, args_size=1
        start local 0 // jdk.internal.vm.compiler.libgraal.LibGraalIsolate isolate
         0: .line 133
            aload 0 /* isolate */
            iconst_1
            putfield jdk.internal.vm.compiler.libgraal.LibGraalIsolate.destroyed:Z
         1: .line 134
            getstatic jdk.internal.vm.compiler.libgraal.LibGraalIsolate.isolates:Ljava/util/Map;
            aload 0 /* isolate */
            getfield jdk.internal.vm.compiler.libgraal.LibGraalIsolate.address:J
            invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
            invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast jdk.internal.vm.compiler.libgraal.LibGraalIsolate
            astore 1 /* removed */
        start local 1 // jdk.internal.vm.compiler.libgraal.LibGraalIsolate removed
         2: .line 135
            getstatic jdk.internal.vm.compiler.libgraal.LibGraalIsolate.$assertionsDisabled:Z
            ifne 3
            aload 1 /* removed */
            aload 0 /* isolate */
            if_acmpeq 3
            new java.lang.AssertionError
            dup
            new java.lang.StringBuilder
            dup
            ldc "isolate already removed or overwritten: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* isolate */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
            athrow
         3: .line 136
      StackMap locals: jdk.internal.vm.compiler.libgraal.LibGraalIsolate
      StackMap stack:
            return
        end local 1 // jdk.internal.vm.compiler.libgraal.LibGraalIsolate removed
        end local 0 // jdk.internal.vm.compiler.libgraal.LibGraalIsolate isolate
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    4     0  isolate  Ljdk/internal/vm/compiler/libgraal/LibGraalIsolate;
            2    4     1  removed  Ljdk/internal/vm/compiler/libgraal/LibGraalIsolate;
    MethodParameters:
         Name  Flags
      isolate  

  public java.lang.String toString();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=1, args_size=1
        start local 0 // jdk.internal.vm.compiler.libgraal.LibGraalIsolate this
         0: .line 140
            ldc "%s[0x%x]"
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            aload 0 /* this */
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
            aastore
            dup
            iconst_1
            aload 0 /* this */
            getfield jdk.internal.vm.compiler.libgraal.LibGraalIsolate.address:J
            invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
            aastore
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            areturn
        end local 0 // jdk.internal.vm.compiler.libgraal.LibGraalIsolate this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/vm/compiler/libgraal/LibGraalIsolate;

  public boolean isValid();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.vm.compiler.libgraal.LibGraalIsolate this
         0: .line 146
            aload 0 /* this */
            getfield jdk.internal.vm.compiler.libgraal.LibGraalIsolate.destroyed:Z
            ifeq 1
            iconst_0
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_1
      StackMap locals:
      StackMap stack: int
         2: ireturn
        end local 0 // jdk.internal.vm.compiler.libgraal.LibGraalIsolate this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/internal/vm/compiler/libgraal/LibGraalIsolate;

  private static jdk.internal.vm.compiler.libgraal.LibGraalIsolate lambda$0(java.lang.Long);
    descriptor: (Ljava/lang/Long;)Ljdk/internal/vm/compiler/libgraal/LibGraalIsolate;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // java.lang.Long a
         0: .line 47
            new jdk.internal.vm.compiler.libgraal.LibGraalIsolate
            dup
            aload 0 /* a */
            invokevirtual java.lang.Long.longValue:()J
            invokespecial jdk.internal.vm.compiler.libgraal.LibGraalIsolate.<init>:(J)V
            areturn
        end local 0 // java.lang.Long a
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0     a  Ljava/lang/Long;
}
SourceFile: "LibGraalIsolate.java"
NestMembers:
  jdk.internal.vm.compiler.libgraal.LibGraalIsolate$Cleaner
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  private final Cleaner = jdk.internal.vm.compiler.libgraal.LibGraalIsolate$Cleaner of jdk.internal.vm.compiler.libgraal.LibGraalIsolate