public class jdk.internal.vm.compiler.libgraal.LibGraalObject
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.internal.vm.compiler.libgraal.LibGraalObject
super_class: java.lang.Object
{
private final long handle;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.internal.vm.compiler.libgraal.LibGraalIsolate isolate;
descriptor: Ljdk/internal/vm/compiler/libgraal/LibGraalIsolate;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic jdk.internal.vm.compiler.libgraal.LibGraal.isAvailable:()Z
ifeq 2
1: ldc Ljdk/internal/vm/compiler/libgraal/LibGraalObject;
invokestatic jdk.internal.vm.compiler.libgraal.LibGraal.registerNativeMethods:(Ljava/lang/Class;)V
2: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>(long);
descriptor: (J)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
lload 1
putfield jdk.internal.vm.compiler.libgraal.LibGraalObject.handle:J
2: aload 0
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;
putfield jdk.internal.vm.compiler.libgraal.LibGraalObject.isolate:Ljdk/internal/vm/compiler/libgraal/LibGraalIsolate;
3: aload 0
getfield jdk.internal.vm.compiler.libgraal.LibGraalObject.isolate:Ljdk/internal/vm/compiler/libgraal/LibGraalIsolate;
aload 0
lload 1
invokevirtual jdk.internal.vm.compiler.libgraal.LibGraalIsolate.register:(Ljdk/internal/vm/compiler/libgraal/LibGraalObject;J)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/vm/compiler/libgraal/LibGraalObject;
0 5 1 handle J
MethodParameters:
Name Flags
handle
public long getHandle();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.vm.compiler.libgraal.LibGraalObject.isolate:Ljdk/internal/vm/compiler/libgraal/LibGraalIsolate;
invokevirtual jdk.internal.vm.compiler.libgraal.LibGraalIsolate.isValid:()Z
ifne 2
1: new java.lang.IllegalArgumentException
dup
aload 0
invokevirtual jdk.internal.vm.compiler.libgraal.LibGraalObject.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.vm.compiler.libgraal.LibGraalObject.handle:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/vm/compiler/libgraal/LibGraalObject;
static native boolean releaseHandle(long, long);
descriptor: (JJ)Z
flags: (0x0108) ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
isolateThreadId
handle
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
astore 1
start local 1 1: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getDeclaringClass:()Ljava/lang/Class;
astore 2
start local 2 2: goto 5
3: StackMap locals: java.lang.String java.lang.Class
StackMap stack:
new java.lang.StringBuilder
dup
aload 2
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
bipush 46
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
4: aload 2
invokevirtual java.lang.Class.getDeclaringClass:()Ljava/lang/Class;
astore 2
5: StackMap locals:
StackMap stack:
aload 2
ifnonnull 3
6: ldc "%s[%d]"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 0
getfield jdk.internal.vm.compiler.libgraal.LibGraalObject.handle: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 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/internal/vm/compiler/libgraal/LibGraalObject;
1 7 1 name Ljava/lang/String;
2 7 2 outer Ljava/lang/Class<*>;
}
SourceFile: "LibGraalObject.java"