public class jdk.internal.vm.compiler.libgraal.LibGraal
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: jdk.internal.vm.compiler.libgraal.LibGraal
  super_class: java.lang.Object
{
  static final long theIsolate;
    descriptor: J
    flags: (0x0018) ACC_STATIC, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 39
            invokestatic jdk.vm.ci.services.Services.initializeJVMCI:()V
         1: .line 93
            getstatic jdk.vm.ci.services.Services.IS_BUILDING_NATIVE_IMAGE:Z
            ifeq 2
            lconst_0
            goto 3
      StackMap locals:
      StackMap stack:
         2: invokestatic jdk.internal.vm.compiler.libgraal.LibGraal.initializeLibgraal:()J
      StackMap locals:
      StackMap stack: long
         3: putstatic jdk.internal.vm.compiler.libgraal.LibGraal.theIsolate:J
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.vm.compiler.libgraal.LibGraal this
         0: .line 35
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // jdk.internal.vm.compiler.libgraal.LibGraal this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/vm/compiler/libgraal/LibGraal;

  public static boolean isAvailable();
    descriptor: ()Z
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=0, args_size=0
         0: .line 43
            invokestatic jdk.internal.vm.compiler.libgraal.LibGraal.inLibGraal:()Z
            ifne 1
            getstatic jdk.internal.vm.compiler.libgraal.LibGraal.theIsolate:J
            lconst_0
            lcmp
            ifne 1
            iconst_0
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_1
            ireturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public static boolean isSupported();
    descriptor: ()Z
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 47
            iconst_1
            ireturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public static boolean inLibGraal();
    descriptor: ()Z
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 51
            getstatic jdk.vm.ci.services.Services.IS_IN_NATIVE_IMAGE:Z
            ireturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public static void registerNativeMethods(java.lang.Class<?>);
    descriptor: (Ljava/lang/Class;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.lang.Class clazz
         0: .line 55
            aload 0 /* clazz */
            invokevirtual java.lang.Class.isPrimitive:()Z
            ifeq 2
         1: .line 56
            new java.lang.IllegalArgumentException
            dup
            invokespecial java.lang.IllegalArgumentException.<init>:()V
            athrow
         2: .line 58
      StackMap locals:
      StackMap stack:
            invokestatic jdk.internal.vm.compiler.libgraal.LibGraal.inLibGraal:()Z
            ifne 3
            invokestatic jdk.internal.vm.compiler.libgraal.LibGraal.isAvailable:()Z
            ifne 4
         3: .line 59
      StackMap locals:
      StackMap stack:
            new java.lang.IllegalStateException
            dup
            invokespecial java.lang.IllegalStateException.<init>:()V
            athrow
         4: .line 61
      StackMap locals:
      StackMap stack:
            invokestatic jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.runtime:()Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;
            aload 0 /* clazz */
            invokevirtual jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.registerNativeMethods:(Ljava/lang/Class;)[J
            pop
         5: .line 62
            return
        end local 0 // java.lang.Class clazz
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    6     0  clazz  Ljava/lang/Class<*>;
    Signature: (Ljava/lang/Class<*>;)V
    MethodParameters:
       Name  Flags
      clazz  

  public static long translate(java.lang.Object);
    descriptor: (Ljava/lang/Object;)J
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=1, args_size=1
        start local 0 // java.lang.Object obj
         0: .line 65
            invokestatic jdk.internal.vm.compiler.libgraal.LibGraal.isAvailable:()Z
            ifne 2
         1: .line 66
            new java.lang.IllegalStateException
            dup
            invokespecial java.lang.IllegalStateException.<init>:()V
            athrow
         2: .line 68
      StackMap locals:
      StackMap stack:
            invokestatic jdk.internal.vm.compiler.libgraal.LibGraal.inLibGraal:()Z
            ifne 4
            getstatic jdk.internal.vm.compiler.libgraal.LibGraalScope.currentScope:Ljava/lang/ThreadLocal;
            invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
            ifnonnull 4
         3: .line 69
            new java.lang.IllegalStateException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Not within a "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc Ljdk/internal/vm/compiler/libgraal/LibGraalScope;
            invokevirtual java.lang.Class.getName:()Ljava/lang/String;
            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
         4: .line 71
      StackMap locals:
      StackMap stack:
            invokestatic jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.runtime:()Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;
            aload 0 /* obj */
            invokevirtual jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.translate:(Ljava/lang/Object;)J
            lreturn
        end local 0 // java.lang.Object obj
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0   obj  Ljava/lang/Object;
    MethodParameters:
      Name  Flags
      obj   

  public static <T> T unhand(java.lang.Class<T>, );
    descriptor: (Ljava/lang/Class;J)Ljava/lang/Object;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // java.lang.Class type
        start local 1 // long handle
         0: .line 75
            invokestatic jdk.internal.vm.compiler.libgraal.LibGraal.isAvailable:()Z
            ifne 2
         1: .line 76
            new java.lang.IllegalStateException
            dup
            invokespecial java.lang.IllegalStateException.<init>:()V
            athrow
         2: .line 78
      StackMap locals:
      StackMap stack:
            invokestatic jdk.internal.vm.compiler.libgraal.LibGraal.inLibGraal:()Z
            ifne 4
            getstatic jdk.internal.vm.compiler.libgraal.LibGraalScope.currentScope:Ljava/lang/ThreadLocal;
            invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
            ifnonnull 4
         3: .line 79
            new java.lang.IllegalStateException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Not within a "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc Ljdk/internal/vm/compiler/libgraal/LibGraalScope;
            invokevirtual java.lang.Class.getName:()Ljava/lang/String;
            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
         4: .line 81
      StackMap locals:
      StackMap stack:
            invokestatic jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.runtime:()Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;
            aload 0 /* type */
            lload 1 /* handle */
            invokevirtual jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.unhand:(Ljava/lang/Class;J)Ljava/lang/Object;
            areturn
        end local 1 // long handle
        end local 0 // java.lang.Class type
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    5     0    type  Ljava/lang/Class<TT;>;
            0    5     1  handle  J
    Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;J)TT;
    MethodParameters:
        Name  Flags
      type    
      handle  

  private static long initializeLibgraal();
    descriptor: ()J
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=0
         0: .line 86
            invokestatic jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.runtime:()Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;
            ldc Ljdk/internal/vm/compiler/libgraal/LibGraalScope;
            invokevirtual jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.registerNativeMethods:(Ljava/lang/Class;)[J
            astore 0 /* javaVMInfo */
        start local 0 // long[] javaVMInfo
         1: .line 87
            aload 0 /* javaVMInfo */
            iconst_1
            laload
         2: lreturn
        end local 0 // long[] javaVMInfo
         3: .line 88
      StackMap locals:
      StackMap stack: java.lang.UnsupportedOperationException
            pop
         4: .line 89
            lconst_0
            lreturn
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            1    3     0  javaVMInfo  [J
      Exception table:
        from    to  target  type
           0     2       3  Class java.lang.UnsupportedOperationException

  static boolean isCurrentThreadAttached();
    descriptor: ()Z
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 96
            invokestatic jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.runtime:()Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;
            invokevirtual jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.isCurrentThreadAttached:()Z
            ireturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public static boolean attachCurrentThread(boolean, long[]);
    descriptor: (Z[J)Z
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // boolean isDaemon
        start local 1 // long[] isolate
         0: .line 100
            aload 1 /* isolate */
            ifnull 2
         1: .line 101
            aload 1 /* isolate */
            iconst_0
            getstatic jdk.internal.vm.compiler.libgraal.LibGraal.theIsolate:J
            lastore
         2: .line 103
      StackMap locals:
      StackMap stack:
            invokestatic jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.runtime:()Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;
            iload 0 /* isDaemon */
            invokevirtual jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.attachCurrentThread:(Z)Z
            ireturn
        end local 1 // long[] isolate
        end local 0 // boolean isDaemon
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    3     0  isDaemon  Z
            0    3     1   isolate  [J
    MethodParameters:
          Name  Flags
      isDaemon  
      isolate   

  public static boolean detachCurrentThread(boolean);
    descriptor: (Z)Z
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // boolean release
         0: .line 107
            invokestatic jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.runtime:()Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;
            invokevirtual jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.detachCurrentThread:()V
         1: .line 108
            iconst_0
            ireturn
        end local 0 // boolean release
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    2     0  release  Z
    MethodParameters:
         Name  Flags
      release  

  public static long getFailedSpeculationsAddress(jdk.vm.ci.hotspot.HotSpotSpeculationLog);
    descriptor: (Ljdk/vm/ci/hotspot/HotSpotSpeculationLog;)J
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.vm.ci.hotspot.HotSpotSpeculationLog log
         0: .line 112
            aload 0 /* log */
            invokevirtual jdk.vm.ci.hotspot.HotSpotSpeculationLog.getFailedSpeculationsAddress:()J
            lreturn
        end local 0 // jdk.vm.ci.hotspot.HotSpotSpeculationLog log
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0   log  Ljdk/vm/ci/hotspot/HotSpotSpeculationLog;
    MethodParameters:
      Name  Flags
      log   
}
SourceFile: "LibGraal.java"