public abstract class org.graalvm.compiler.asm.test.AssemblerTest extends org.graalvm.compiler.test.GraalTest
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.graalvm.compiler.asm.test.AssemblerTest
super_class: org.graalvm.compiler.test.GraalTest
{
private final jdk.vm.ci.meta.MetaAccessProvider metaAccess;
descriptor: Ljdk/vm/ci/meta/MetaAccessProvider;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
protected final jdk.vm.ci.code.CodeCacheProvider codeCache;
descriptor: Ljdk/vm/ci/code/CodeCacheProvider;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private final org.graalvm.compiler.core.target.Backend backend;
descriptor: Lorg/graalvm/compiler/core/target/Backend;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public static org.graalvm.compiler.options.OptionValues getInitialOptions();
descriptor: ()Lorg/graalvm/compiler/options/OptionValues;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/graalvm/compiler/options/OptionValues;
invokestatic org.graalvm.compiler.api.test.Graal.getRequiredCapability:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast org.graalvm.compiler.options.OptionValues
areturn
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokespecial org.graalvm.compiler.test.GraalTest.<init>:()V
1: invokestatic jdk.vm.ci.runtime.JVMCI.getRuntime:()Ljdk/vm/ci/runtime/JVMCIRuntime;
invokeinterface jdk.vm.ci.runtime.JVMCIRuntime.getHostJVMCIBackend:()Ljdk/vm/ci/runtime/JVMCIBackend;
astore 1
start local 1 2: aload 0
aload 1
invokevirtual jdk.vm.ci.runtime.JVMCIBackend.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
putfield org.graalvm.compiler.asm.test.AssemblerTest.metaAccess:Ljdk/vm/ci/meta/MetaAccessProvider;
3: aload 0
aload 1
invokevirtual jdk.vm.ci.runtime.JVMCIBackend.getCodeCache:()Ljdk/vm/ci/code/CodeCacheProvider;
putfield org.graalvm.compiler.asm.test.AssemblerTest.codeCache:Ljdk/vm/ci/code/CodeCacheProvider;
4: aload 0
ldc Lorg/graalvm/compiler/runtime/RuntimeProvider;
invokestatic org.graalvm.compiler.api.test.Graal.getRequiredCapability:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast org.graalvm.compiler.runtime.RuntimeProvider
invokeinterface org.graalvm.compiler.runtime.RuntimeProvider.getHostBackend:()Lorg/graalvm/compiler/core/target/Backend;
putfield org.graalvm.compiler.asm.test.AssemblerTest.backend:Lorg/graalvm/compiler/core/target/Backend;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/compiler/asm/test/AssemblerTest;
2 6 1 providers Ljdk/vm/ci/runtime/JVMCIBackend;
public jdk.vm.ci.meta.MetaAccessProvider getMetaAccess();
descriptor: ()Ljdk/vm/ci/meta/MetaAccessProvider;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.asm.test.AssemblerTest.metaAccess:Ljdk/vm/ci/meta/MetaAccessProvider;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/asm/test/AssemblerTest;
protected jdk.vm.ci.code.InstalledCode assembleMethod(java.lang.reflect.Method, org.graalvm.compiler.asm.test.AssemblerTest$CodeGenTest);
descriptor: (Ljava/lang/reflect/Method;Lorg/graalvm/compiler/asm/test/AssemblerTest$CodeGenTest;)Ljdk/vm/ci/code/InstalledCode;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tAssert cannot be resolved\n\tAssert cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/asm/test/AssemblerTest;
MethodParameters:
Name Flags
m
test
protected java.lang.Object runTest(java.lang.String, org.graalvm.compiler.asm.test.AssemblerTest$CodeGenTest, java.lang.Object[]);
descriptor: (Ljava/lang/String;Lorg/graalvm/compiler/asm/test/AssemblerTest$CodeGenTest;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0084) ACC_PROTECTED, ACC_VARARGS
Code:
stack=3, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokevirtual org.graalvm.compiler.asm.test.AssemblerTest.getMethod:(Ljava/lang/String;)Ljava/lang/reflect/Method;
astore 4
start local 4 1: aload 0
aload 4
aload 2
invokevirtual org.graalvm.compiler.asm.test.AssemblerTest.assembleMethod:(Ljava/lang/reflect/Method;Lorg/graalvm/compiler/asm/test/AssemblerTest$CodeGenTest;)Ljdk/vm/ci/code/InstalledCode;
astore 5
start local 5 2: aload 5
aload 3
invokevirtual jdk.vm.ci.code.InstalledCode.executeVarargs:([Ljava/lang/Object;)Ljava/lang/Object;
3: areturn
4: StackMap locals: org.graalvm.compiler.asm.test.AssemblerTest java.lang.String org.graalvm.compiler.asm.test.AssemblerTest$CodeGenTest java.lang.Object[] java.lang.reflect.Method jdk.vm.ci.code.InstalledCode
StackMap stack: jdk.vm.ci.code.InvalidInstalledCodeException
astore 6
start local 6 5: new java.lang.RuntimeException
dup
aload 6
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/compiler/asm/test/AssemblerTest;
0 6 1 methodName Ljava/lang/String;
0 6 2 test Lorg/graalvm/compiler/asm/test/AssemblerTest$CodeGenTest;
0 6 3 args [Ljava/lang/Object;
1 6 4 method Ljava/lang/reflect/Method;
2 6 5 code Ljdk/vm/ci/code/InstalledCode;
5 6 6 e Ljdk/vm/ci/code/InvalidInstalledCodeException;
Exception table:
from to target type
2 3 4 Class jdk.vm.ci.code.InvalidInstalledCodeException
MethodParameters:
Name Flags
methodName
test
args
protected void assertReturn(java.lang.String, org.graalvm.compiler.asm.test.AssemblerTest$CodeGenTest, java.lang.Object, java.lang.Object[]);
descriptor: (Ljava/lang/String;Lorg/graalvm/compiler/asm/test/AssemblerTest$CodeGenTest;Ljava/lang/Object;[Ljava/lang/Object;)V
flags: (0x0084) ACC_PROTECTED, ACC_VARARGS
Code:
stack=3, locals=5, args_size=5
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tAssert cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/asm/test/AssemblerTest;
MethodParameters:
Name Flags
methodName
test
expected
args
}
SourceFile: "AssemblerTest.java"
NestMembers:
org.graalvm.compiler.asm.test.AssemblerTest$CodeGenTest
InnerClasses:
public abstract CodeGenTest = org.graalvm.compiler.asm.test.AssemblerTest$CodeGenTest of org.graalvm.compiler.asm.test.AssemblerTest