public final class jdk.internal.vm.compiler.libgraal.LibGraalScope implements java.lang.AutoCloseable
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.internal.vm.compiler.libgraal.LibGraalScope
super_class: java.lang.Object
{
static final java.lang.ThreadLocal<jdk.internal.vm.compiler.libgraal.LibGraalScope> currentScope;
descriptor: Ljava/lang/ThreadLocal;
flags: (0x0018) ACC_STATIC, ACC_FINAL
Signature: Ljava/lang/ThreadLocal<Ljdk/internal/vm/compiler/libgraal/LibGraalScope;>;
private final jdk.internal.vm.compiler.libgraal.LibGraalScope parent;
descriptor: Ljdk/internal/vm/compiler/libgraal/LibGraalScope;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.internal.vm.compiler.libgraal.LibGraalScope$Shared shared;
descriptor: Ljdk/internal/vm/compiler/libgraal/LibGraalScope$Shared;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.lang.ThreadLocal
dup
invokespecial java.lang.ThreadLocal.<init>:()V
putstatic jdk.internal.vm.compiler.libgraal.LibGraalScope.currentScope:Ljava/lang/ThreadLocal;
return
LocalVariableTable:
Start End Slot Name Signature
public static jdk.internal.vm.compiler.libgraal.LibGraalScope current();
descriptor: ()Ljdk/internal/vm/compiler/libgraal/LibGraalScope;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=0
0: getstatic jdk.internal.vm.compiler.libgraal.LibGraalScope.currentScope:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast jdk.internal.vm.compiler.libgraal.LibGraalScope
astore 0
start local 0 1: aload 0
ifnonnull 3
2: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "Not in an "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc Ljdk/internal/vm/compiler/libgraal/LibGraalScope;
invokevirtual java.lang.Class.getSimpleName:()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
3: StackMap locals: jdk.internal.vm.compiler.libgraal.LibGraalScope
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 4 0 scope Ljdk/internal/vm/compiler/libgraal/LibGraalScope;
public static long getIsolateThread();
descriptor: ()J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: invokestatic jdk.internal.vm.compiler.libgraal.LibGraalScope.current:()Ljdk/internal/vm/compiler/libgraal/LibGraalScope;
getfield jdk.internal.vm.compiler.libgraal.LibGraalScope.shared:Ljdk/internal/vm/compiler/libgraal/LibGraalScope$Shared;
getfield jdk.internal.vm.compiler.libgraal.LibGraalScope$Shared.isolateThread:J
lreturn
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic jdk.internal.vm.compiler.libgraal.LibGraalScope$DetachAction.DETACH_RUNTIME:Ljdk/internal/vm/compiler/libgraal/LibGraalScope$DetachAction;
invokespecial jdk.internal.vm.compiler.libgraal.LibGraalScope.<init>:(Ljdk/internal/vm/compiler/libgraal/LibGraalScope$DetachAction;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/vm/compiler/libgraal/LibGraalScope;
public void <init>(jdk.internal.vm.compiler.libgraal.LibGraalScope$DetachAction);
descriptor: (Ljdk/internal/vm/compiler/libgraal/LibGraalScope$DetachAction;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=9, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: invokestatic jdk.internal.vm.compiler.libgraal.LibGraal.inLibGraal:()Z
ifne 2
invokestatic jdk.internal.vm.compiler.libgraal.LibGraal.isAvailable:()Z
ifne 3
2: StackMap locals: jdk.internal.vm.compiler.libgraal.LibGraalScope jdk.internal.vm.compiler.libgraal.LibGraalScope$DetachAction
StackMap stack:
new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 0
getstatic jdk.internal.vm.compiler.libgraal.LibGraalScope.currentScope:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast jdk.internal.vm.compiler.libgraal.LibGraalScope
putfield jdk.internal.vm.compiler.libgraal.LibGraalScope.parent:Ljdk/internal/vm/compiler/libgraal/LibGraalScope;
4: aload 0
getfield jdk.internal.vm.compiler.libgraal.LibGraalScope.parent:Ljdk/internal/vm/compiler/libgraal/LibGraalScope;
ifnonnull 15
5: iconst_1
newarray 11
astore 2
start local 2 6: iconst_0
aload 2
invokestatic jdk.internal.vm.compiler.libgraal.LibGraal.attachCurrentThread:(Z[J)Z
istore 3
start local 3 7: aload 2
iconst_0
laload
lstore 4
start local 4 8: lload 4
invokestatic jdk.internal.vm.compiler.libgraal.LibGraalIsolate.forAddress:(J)Ljdk/internal/vm/compiler/libgraal/LibGraalIsolate;
astore 6
start local 6 9: lload 4
invokestatic jdk.internal.vm.compiler.libgraal.LibGraalScope.getIsolateThreadIn:(J)J
lstore 7
start local 7 10: aload 0
11: new jdk.internal.vm.compiler.libgraal.LibGraalScope$Shared
dup
iload 3
ifeq 12
aload 1
goto 13
StackMap locals: jdk.internal.vm.compiler.libgraal.LibGraalScope jdk.internal.vm.compiler.libgraal.LibGraalScope$DetachAction long[] int long jdk.internal.vm.compiler.libgraal.LibGraalIsolate long
StackMap stack: jdk.internal.vm.compiler.libgraal.LibGraalScope new 11 new 11
12: aconst_null
StackMap locals: jdk.internal.vm.compiler.libgraal.LibGraalScope jdk.internal.vm.compiler.libgraal.LibGraalScope$DetachAction long[] int long jdk.internal.vm.compiler.libgraal.LibGraalIsolate long
StackMap stack: jdk.internal.vm.compiler.libgraal.LibGraalScope new 11 new 11 jdk.internal.vm.compiler.libgraal.LibGraalScope$DetachAction
13: aload 6
lload 7
invokespecial jdk.internal.vm.compiler.libgraal.LibGraalScope$Shared.<init>:(Ljdk/internal/vm/compiler/libgraal/LibGraalScope$DetachAction;Ljdk/internal/vm/compiler/libgraal/LibGraalIsolate;J)V
putfield jdk.internal.vm.compiler.libgraal.LibGraalScope.shared:Ljdk/internal/vm/compiler/libgraal/LibGraalScope$Shared;
end local 7 end local 6 end local 4 end local 3 end local 2 14: goto 16
15: StackMap locals: jdk.internal.vm.compiler.libgraal.LibGraalScope jdk.internal.vm.compiler.libgraal.LibGraalScope$DetachAction
StackMap stack:
aload 0
aload 0
getfield jdk.internal.vm.compiler.libgraal.LibGraalScope.parent:Ljdk/internal/vm/compiler/libgraal/LibGraalScope;
getfield jdk.internal.vm.compiler.libgraal.LibGraalScope.shared:Ljdk/internal/vm/compiler/libgraal/LibGraalScope$Shared;
putfield jdk.internal.vm.compiler.libgraal.LibGraalScope.shared:Ljdk/internal/vm/compiler/libgraal/LibGraalScope$Shared;
16: StackMap locals:
StackMap stack:
getstatic jdk.internal.vm.compiler.libgraal.LibGraalScope.currentScope:Ljava/lang/ThreadLocal;
aload 0
invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
17: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Ljdk/internal/vm/compiler/libgraal/LibGraalScope;
0 18 1 detachAction Ljdk/internal/vm/compiler/libgraal/LibGraalScope$DetachAction;
6 14 2 isolateBox [J
7 14 3 firstAttach Z
8 14 4 isolateAddress J
9 14 6 isolate Ljdk/internal/vm/compiler/libgraal/LibGraalIsolate;
10 14 7 isolateThread J
MethodParameters:
Name Flags
detachAction
public void <init>(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=7, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: invokestatic jdk.internal.vm.compiler.libgraal.LibGraal.inLibGraal:()Z
ifne 2
invokestatic jdk.internal.vm.compiler.libgraal.LibGraal.isAvailable:()Z
ifne 3
2: StackMap locals: jdk.internal.vm.compiler.libgraal.LibGraalScope long
StackMap stack:
new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 0
getstatic jdk.internal.vm.compiler.libgraal.LibGraalScope.currentScope:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast jdk.internal.vm.compiler.libgraal.LibGraalScope
putfield jdk.internal.vm.compiler.libgraal.LibGraalScope.parent:Ljdk/internal/vm/compiler/libgraal/LibGraalScope;
4: aload 0
getfield jdk.internal.vm.compiler.libgraal.LibGraalScope.parent:Ljdk/internal/vm/compiler/libgraal/LibGraalScope;
ifnonnull 17
5: lload 1
invokestatic jdk.internal.vm.compiler.libgraal.LibGraalScope.getIsolateThreadIn:(J)J
lstore 3
start local 3 6: lload 3
lconst_0
lcmp
ifne 10
7: iconst_0
istore 5
start local 5 8: lload 1
invokestatic jdk.internal.vm.compiler.libgraal.LibGraalScope.attachThreadTo:(J)J
lstore 3
9: goto 11
end local 5 10: StackMap locals: long
StackMap stack:
iconst_1
istore 5
start local 5 11: StackMap locals: int
StackMap stack:
lload 1
invokestatic jdk.internal.vm.compiler.libgraal.LibGraalIsolate.forAddress:(J)Ljdk/internal/vm/compiler/libgraal/LibGraalIsolate;
astore 6
start local 6 12: aload 0
13: new jdk.internal.vm.compiler.libgraal.LibGraalScope$Shared
dup
iload 5
ifeq 14
aconst_null
goto 15
StackMap locals: jdk.internal.vm.compiler.libgraal.LibGraalScope long long int jdk.internal.vm.compiler.libgraal.LibGraalIsolate
StackMap stack: jdk.internal.vm.compiler.libgraal.LibGraalScope new 13 new 13
14: getstatic jdk.internal.vm.compiler.libgraal.LibGraalScope$DetachAction.DETACH:Ljdk/internal/vm/compiler/libgraal/LibGraalScope$DetachAction;
StackMap locals: jdk.internal.vm.compiler.libgraal.LibGraalScope long long int jdk.internal.vm.compiler.libgraal.LibGraalIsolate
StackMap stack: jdk.internal.vm.compiler.libgraal.LibGraalScope new 13 new 13 jdk.internal.vm.compiler.libgraal.LibGraalScope$DetachAction
15: aload 6
lload 3
invokespecial jdk.internal.vm.compiler.libgraal.LibGraalScope$Shared.<init>:(Ljdk/internal/vm/compiler/libgraal/LibGraalScope$DetachAction;Ljdk/internal/vm/compiler/libgraal/LibGraalIsolate;J)V
putfield jdk.internal.vm.compiler.libgraal.LibGraalScope.shared:Ljdk/internal/vm/compiler/libgraal/LibGraalScope$Shared;
end local 6 end local 5 end local 3 16: goto 18
17: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield jdk.internal.vm.compiler.libgraal.LibGraalScope.parent:Ljdk/internal/vm/compiler/libgraal/LibGraalScope;
getfield jdk.internal.vm.compiler.libgraal.LibGraalScope.shared:Ljdk/internal/vm/compiler/libgraal/LibGraalScope$Shared;
putfield jdk.internal.vm.compiler.libgraal.LibGraalScope.shared:Ljdk/internal/vm/compiler/libgraal/LibGraalScope$Shared;
18: StackMap locals:
StackMap stack:
getstatic jdk.internal.vm.compiler.libgraal.LibGraalScope.currentScope:Ljava/lang/ThreadLocal;
aload 0
invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
19: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Ljdk/internal/vm/compiler/libgraal/LibGraalScope;
0 20 1 isolateAddress J
6 16 3 isolateThread J
8 10 5 alreadyAttached Z
11 16 5 alreadyAttached Z
12 16 6 isolate Ljdk/internal/vm/compiler/libgraal/LibGraalIsolate;
MethodParameters:
Name Flags
isolateAddress
static native long attachThreadTo(long);
descriptor: (J)J
flags: (0x0108) ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
isolateAddress
static native void detachThreadFrom(long);
descriptor: (J)V
flags: (0x0108) ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
isolateThreadAddress
static native long getIsolateThreadIn(long);
descriptor: (J)J
flags: (0x0108) ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
isolateAddress
public jdk.internal.vm.compiler.libgraal.LibGraalIsolate getIsolate();
descriptor: ()Ljdk/internal/vm/compiler/libgraal/LibGraalIsolate;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.vm.compiler.libgraal.LibGraalScope.shared:Ljdk/internal/vm/compiler/libgraal/LibGraalScope$Shared;
getfield jdk.internal.vm.compiler.libgraal.LibGraalScope$Shared.isolate:Ljdk/internal/vm/compiler/libgraal/LibGraalIsolate;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/vm/compiler/libgraal/LibGraalScope;
public long getIsolateThreadAddress();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.vm.compiler.libgraal.LibGraalScope.shared:Ljdk/internal/vm/compiler/libgraal/LibGraalScope$Shared;
getfield jdk.internal.vm.compiler.libgraal.LibGraalScope$Shared.isolateThread:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/vm/compiler/libgraal/LibGraalScope;
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.internal.vm.compiler.libgraal.LibGraalScope.parent:Ljdk/internal/vm/compiler/libgraal/LibGraalScope;
ifnonnull 9
aload 0
getfield jdk.internal.vm.compiler.libgraal.LibGraalScope.shared:Ljdk/internal/vm/compiler/libgraal/LibGraalScope$Shared;
getfield jdk.internal.vm.compiler.libgraal.LibGraalScope$Shared.detachAction:Ljdk/internal/vm/compiler/libgraal/LibGraalScope$DetachAction;
ifnull 9
1: aload 0
getfield jdk.internal.vm.compiler.libgraal.LibGraalScope.shared:Ljdk/internal/vm/compiler/libgraal/LibGraalScope$Shared;
getfield jdk.internal.vm.compiler.libgraal.LibGraalScope$Shared.detachAction:Ljdk/internal/vm/compiler/libgraal/LibGraalScope$DetachAction;
getstatic jdk.internal.vm.compiler.libgraal.LibGraalScope$DetachAction.DETACH:Ljdk/internal/vm/compiler/libgraal/LibGraalScope$DetachAction;
if_acmpne 4
2: aload 0
getfield jdk.internal.vm.compiler.libgraal.LibGraalScope.shared:Ljdk/internal/vm/compiler/libgraal/LibGraalScope$Shared;
getfield jdk.internal.vm.compiler.libgraal.LibGraalScope$Shared.isolateThread:J
invokestatic jdk.internal.vm.compiler.libgraal.LibGraalScope.detachThreadFrom:(J)V
3: goto 9
4: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.vm.compiler.libgraal.LibGraalScope.shared:Ljdk/internal/vm/compiler/libgraal/LibGraalScope$Shared;
getfield jdk.internal.vm.compiler.libgraal.LibGraalScope$Shared.detachAction:Ljdk/internal/vm/compiler/libgraal/LibGraalScope$DetachAction;
getstatic jdk.internal.vm.compiler.libgraal.LibGraalScope$DetachAction.DETACH_RUNTIME_AND_RELEASE:Ljdk/internal/vm/compiler/libgraal/LibGraalScope$DetachAction;
if_acmpne 5
iconst_1
goto 6
StackMap locals:
StackMap stack:
5: iconst_0
StackMap locals:
StackMap stack: int
6: invokestatic jdk.internal.vm.compiler.libgraal.LibGraal.detachCurrentThread:(Z)Z
istore 1
start local 1 7: iload 1
ifeq 9
8: aload 0
getfield jdk.internal.vm.compiler.libgraal.LibGraalScope.shared:Ljdk/internal/vm/compiler/libgraal/LibGraalScope$Shared;
getfield jdk.internal.vm.compiler.libgraal.LibGraalScope$Shared.isolate:Ljdk/internal/vm/compiler/libgraal/LibGraalIsolate;
invokestatic jdk.internal.vm.compiler.libgraal.LibGraalIsolate.remove:(Ljdk/internal/vm/compiler/libgraal/LibGraalIsolate;)V
end local 1 9: StackMap locals:
StackMap stack:
getstatic jdk.internal.vm.compiler.libgraal.LibGraalScope.currentScope:Ljava/lang/ThreadLocal;
aload 0
getfield jdk.internal.vm.compiler.libgraal.LibGraalScope.parent:Ljdk/internal/vm/compiler/libgraal/LibGraalScope;
invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
10: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljdk/internal/vm/compiler/libgraal/LibGraalScope;
7 9 1 isolateDestroyed Z
static java.lang.Class<?>[] sig(java.lang.Class<?>[]);
descriptor: ([Ljava/lang/Class;)[Ljava/lang/Class;
flags: (0x0088) ACC_STATIC, ACC_VARARGS
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 types [Ljava/lang/Class;
Signature: ([Ljava/lang/Class<*>;)[Ljava/lang/Class<*>;
MethodParameters:
Name Flags
types
static java.lang.reflect.Method method(java.lang.Class<?>, java.lang.String, java.lang.Class<?>[][]);
descriptor: (Ljava/lang/Class;Ljava/lang/String;[[Ljava/lang/Class;)Ljava/lang/reflect/Method;
flags: (0x0088) ACC_STATIC, ACC_VARARGS
Code:
stack=7, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 2
arraylength
iconst_1
if_icmpeq 1
aload 2
arraylength
ifne 8
1: StackMap locals:
StackMap stack:
aload 2
arraylength
iconst_1
if_icmpne 2
aload 2
iconst_0
aaload
goto 3
StackMap locals:
StackMap stack:
2: iconst_0
anewarray java.lang.Class
StackMap locals:
StackMap stack: java.lang.Class[]
3: astore 3
start local 3 4: aload 0
aload 1
aload 3
invokevirtual java.lang.Class.getDeclaredMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
5: areturn
end local 3 6: StackMap locals:
StackMap stack: java.lang.Exception
astore 3
start local 3 7: new java.lang.NoSuchMethodError
dup
aload 1
invokespecial java.lang.NoSuchMethodError.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.NoSuchMethodError.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
checkcast java.lang.NoSuchMethodError
athrow
end local 3 8: StackMap locals:
StackMap stack:
aconst_null
astore 3
start local 3 9: aload 0
invokevirtual java.lang.Class.getDeclaredMethods:()[Ljava/lang/reflect/Method;
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 18
StackMap locals: java.lang.Class java.lang.String java.lang.Class[][] java.lang.reflect.Method top int int java.lang.reflect.Method[]
StackMap stack:
10: aload 7
iload 5
aaload
astore 4
start local 4 11: aload 4
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 17
12: aload 3
ifnull 16
13: new java.lang.InternalError
dup
ldc "Expected single method named %s, found %s and %s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
14: aload 1
aastore
dup
iconst_1
aload 3
aastore
dup
iconst_2
aload 4
aastore
15: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
16: StackMap locals: java.lang.Class java.lang.String java.lang.Class[][] java.lang.reflect.Method java.lang.reflect.Method int int java.lang.reflect.Method[]
StackMap stack:
aload 4
astore 3
end local 4 17: StackMap locals: java.lang.Class java.lang.String java.lang.Class[][] java.lang.reflect.Method top int int java.lang.reflect.Method[]
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
18: iload 5
iload 6
if_icmplt 10
19: aload 3
ifnonnull 21
20: new java.lang.NoSuchMethodError
dup
new java.lang.StringBuilder
dup
ldc "Cannot find method "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " in "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
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.NoSuchMethodError.<init>:(Ljava/lang/String;)V
athrow
21: StackMap locals: java.lang.Class java.lang.String java.lang.Class[][] java.lang.reflect.Method
StackMap stack:
aload 3
invokevirtual java.lang.reflect.Method.getParameterTypes:()[Ljava/lang/Class;
astore 4
start local 4 22: aload 2
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 27
StackMap locals: java.lang.Class java.lang.String java.lang.Class[][] java.lang.reflect.Method java.lang.Class[] top int int java.lang.Class[][]
StackMap stack:
23: aload 8
iload 6
aaload
astore 5
start local 5 24: aload 4
aload 5
invokestatic java.util.Arrays.equals:([Ljava/lang/Object;[Ljava/lang/Object;)Z
ifeq 26
25: aload 3
areturn
end local 5 26: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
27: iload 6
iload 7
if_icmplt 23
28: new java.lang.NoSuchMethodError
dup
ldc "Unexpected signature for %s: %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 4
invokestatic java.util.Arrays.toString:([Ljava/lang/Object;)Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.NoSuchMethodError.<init>:(Ljava/lang/String;)V
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 declaringClass Ljava/lang/Class<*>;
0 29 1 name Ljava/lang/String;
0 29 2 sigs [[Ljava/lang/Class;
4 6 3 sig [Ljava/lang/Class;
7 8 3 e Ljava/lang/Exception;
9 29 3 match Ljava/lang/reflect/Method;
11 17 4 m Ljava/lang/reflect/Method;
22 29 4 parameterTypes [Ljava/lang/Class;
24 26 5 sig [Ljava/lang/Class;
Exception table:
from to target type
1 5 6 Class java.lang.NoSuchMethodException
1 5 6 Class java.lang.SecurityException
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;[[Ljava/lang/Class<*>;)Ljava/lang/reflect/Method;
MethodParameters:
Name Flags
declaringClass
name
sigs
static java.lang.reflect.Method methodOrNull(java.lang.Class<?>, java.lang.String, java.lang.Class<?>[][]);
descriptor: (Ljava/lang/Class;Ljava/lang/String;[[Ljava/lang/Class;)Ljava/lang/reflect/Method;
flags: (0x0088) ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokestatic jdk.internal.vm.compiler.libgraal.LibGraalScope.method:(Ljava/lang/Class;Ljava/lang/String;[[Ljava/lang/Class;)Ljava/lang/reflect/Method;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.NoSuchMethodError
pop
3: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 declaringClass Ljava/lang/Class<*>;
0 4 1 name Ljava/lang/String;
0 4 2 sigs [[Ljava/lang/Class;
Exception table:
from to target type
0 1 2 Class java.lang.NoSuchMethodError
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;[[Ljava/lang/Class<*>;)Ljava/lang/reflect/Method;
MethodParameters:
Name Flags
declaringClass
name
sigs
static java.lang.reflect.Method methodIf(, java.lang.Class<?>, java.lang.String, java.lang.Class<?>[][]);
descriptor: (Ljava/lang/Object;Ljava/lang/Class;Ljava/lang/String;[[Ljava/lang/Class;)Ljava/lang/reflect/Method;
flags: (0x0088) ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 1
aload 2
aload 3
invokestatic jdk.internal.vm.compiler.libgraal.LibGraalScope.method:(Ljava/lang/Class;Ljava/lang/String;[[Ljava/lang/Class;)Ljava/lang/reflect/Method;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 guard Ljava/lang/Object;
0 3 1 declaringClass Ljava/lang/Class<*>;
0 3 2 name Ljava/lang/String;
0 3 3 sigs [[Ljava/lang/Class;
Signature: (Ljava/lang/Object;Ljava/lang/Class<*>;Ljava/lang/String;[[Ljava/lang/Class<*>;)Ljava/lang/reflect/Method;
MethodParameters:
Name Flags
guard
declaringClass
name
sigs
}
SourceFile: "LibGraalScope.java"
NestMembers:
jdk.internal.vm.compiler.libgraal.LibGraalScope$DetachAction jdk.internal.vm.compiler.libgraal.LibGraalScope$Shared
InnerClasses:
public final DetachAction = jdk.internal.vm.compiler.libgraal.LibGraalScope$DetachAction of jdk.internal.vm.compiler.libgraal.LibGraalScope
Shared = jdk.internal.vm.compiler.libgraal.LibGraalScope$Shared of jdk.internal.vm.compiler.libgraal.LibGraalScope