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: invokestatic jdk.vm.ci.services.Services.initializeJVMCI:()V
1: 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 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 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: 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: 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: 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 0: aload 0
invokevirtual java.lang.Class.isPrimitive:()Z
ifeq 2
1: new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
2: 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: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
invokestatic jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.runtime:()Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;
aload 0
invokevirtual jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.registerNativeMethods:(Ljava/lang/Class;)[J
pop
5: return
end local 0 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 0: invokestatic jdk.internal.vm.compiler.libgraal.LibGraal.isAvailable:()Z
ifne 2
1: new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
2: 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: 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: StackMap locals:
StackMap stack:
invokestatic jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.runtime:()Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;
aload 0
invokevirtual jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.translate:(Ljava/lang/Object;)J
lreturn
end local 0 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 start local 1 0: invokestatic jdk.internal.vm.compiler.libgraal.LibGraal.isAvailable:()Z
ifne 2
1: new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
2: 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: 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: StackMap locals:
StackMap stack:
invokestatic jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.runtime:()Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;
aload 0
lload 1
invokevirtual jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.unhand:(Ljava/lang/Class;J)Ljava/lang/Object;
areturn
end local 1 end local 0 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: 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
start local 0 1: aload 0
iconst_1
laload
2: lreturn
end local 0 3: StackMap locals:
StackMap stack: java.lang.UnsupportedOperationException
pop
4: 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: 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 start local 1 0: aload 1
ifnull 2
1: aload 1
iconst_0
getstatic jdk.internal.vm.compiler.libgraal.LibGraal.theIsolate:J
lastore
2: StackMap locals:
StackMap stack:
invokestatic jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.runtime:()Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;
iload 0
invokevirtual jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.attachCurrentThread:(Z)Z
ireturn
end local 1 end local 0 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 0: invokestatic jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.runtime:()Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;
invokevirtual jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.detachCurrentThread:()V
1: iconst_0
ireturn
end local 0 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 0: aload 0
invokevirtual jdk.vm.ci.hotspot.HotSpotSpeculationLog.getFailedSpeculationsAddress:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 log Ljdk/vm/ci/hotspot/HotSpotSpeculationLog;
MethodParameters:
Name Flags
log
}
SourceFile: "LibGraal.java"