public class org.graalvm.compiler.hotspot.test.AheadOfTimeCompilationTest extends org.graalvm.compiler.core.test.GraalCompilerTest
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.hotspot.test.AheadOfTimeCompilationTest
super_class: org.graalvm.compiler.core.test.GraalCompilerTest
{
public static final java.lang.Object STATICFINALOBJECT;
descriptor: Ljava/lang/Object;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.lang.String STATICFINALSTRING;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "test string"
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putstatic org.graalvm.compiler.hotspot.test.AheadOfTimeCompilationTest.STATICFINALOBJECT:Ljava/lang/Object;
1: 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 org.graalvm.compiler.core.test.GraalCompilerTest.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/test/AheadOfTimeCompilationTest;
public static java.lang.Object getStaticFinalObject();
descriptor: ()Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.graalvm.compiler.hotspot.test.AheadOfTimeCompilationTest.STATICFINALOBJECT:Ljava/lang/Object;
areturn
LocalVariableTable:
Start End Slot Name Signature
public void testStaticFinalObjectAOT();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tTest cannot be resolved to a type\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/hotspot/test/AheadOfTimeCompilationTest;
RuntimeInvisibleAnnotations:
Test()
public void testStaticFinalObject();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\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/hotspot/test/AheadOfTimeCompilationTest;
RuntimeInvisibleAnnotations:
Test()
public static java.lang.Class<org.graalvm.compiler.hotspot.test.AheadOfTimeCompilationTest> getClassObject();
descriptor: ()Ljava/lang/Class;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/graalvm/compiler/hotspot/test/AheadOfTimeCompilationTest;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Ljava/lang/Class<Lorg/graalvm/compiler/hotspot/test/AheadOfTimeCompilationTest;>;
public void testClassObjectAOT();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\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/hotspot/test/AheadOfTimeCompilationTest;
RuntimeInvisibleAnnotations:
Test()
public void testClassObject();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tTest cannot be resolved to a type\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/hotspot/test/AheadOfTimeCompilationTest;
RuntimeInvisibleAnnotations:
Test()
public static java.lang.Class<java.lang.Integer> getPrimitiveClassObject();
descriptor: ()Ljava/lang/Class;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Ljava/lang/Class<Ljava/lang/Integer;>;
public void testPrimitiveClassObjectAOT();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tTest cannot be resolved to a type\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/hotspot/test/AheadOfTimeCompilationTest;
RuntimeInvisibleAnnotations:
Test()
public void testPrimitiveClassObject();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tTest cannot be resolved to a type\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/hotspot/test/AheadOfTimeCompilationTest;
RuntimeInvisibleAnnotations:
Test()
public static java.lang.String getStringObject();
descriptor: ()Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "test string"
areturn
LocalVariableTable:
Start End Slot Name Signature
public void testStringObjectAOT();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\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/hotspot/test/AheadOfTimeCompilationTest;
RuntimeInvisibleAnnotations:
Test()
public void testStringObject();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\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/hotspot/test/AheadOfTimeCompilationTest;
RuntimeInvisibleAnnotations:
Test()
private void testStringObjectCommon(boolean);
descriptor: (Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
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/hotspot/test/AheadOfTimeCompilationTest;
MethodParameters:
Name Flags
compileAOT
public static java.lang.Boolean getBoxedBoolean();
descriptor: ()Ljava/lang/Boolean;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
LocalVariableTable:
Start End Slot Name Signature
public void testBoxedBooleanAOT();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tIgnore cannot be resolved to a type\n\tTest cannot be resolved to a type\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/hotspot/test/AheadOfTimeCompilationTest;
RuntimeInvisibleAnnotations:
Test()
public void testBoxedBoolean();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tTest cannot be resolved to a type\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/hotspot/test/AheadOfTimeCompilationTest;
RuntimeInvisibleAnnotations:
Test()
private org.graalvm.compiler.nodes.StructuredGraph compile(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Lorg/graalvm/compiler/nodes/StructuredGraph;
flags: (0x0002) ACC_PRIVATE
Code:
stack=11, locals=12, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
aconst_null
astore 4
1: getstatic org.graalvm.compiler.core.common.GraalOptions.ImmutableCode:Lorg/graalvm/compiler/options/OptionValue;
iload 2
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokestatic org.graalvm.compiler.options.OptionValue.override:(Lorg/graalvm/compiler/options/OptionValue;Ljava/lang/Object;)Lorg/graalvm/compiler/options/OptionValue$OverrideScope;
astore 5
start local 5 2: aload 0
aload 1
getstatic org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions.YES:Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;
invokevirtual org.graalvm.compiler.hotspot.test.AheadOfTimeCompilationTest.parseEager:(Ljava/lang/String;Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;)Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 6
start local 6 3: aload 6
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.method:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
astore 7
start local 7 4: 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;
invokevirtual org.graalvm.compiler.core.target.Backend.getSuites:()Lorg/graalvm/compiler/phases/tiers/SuitesProvider;
astore 8
start local 8 5: aload 8
invokeinterface org.graalvm.compiler.phases.tiers.SuitesProvider.getDefaultSuites:()Lorg/graalvm/compiler/phases/tiers/Suites;
astore 9
start local 9 6: aload 8
invokeinterface org.graalvm.compiler.phases.tiers.SuitesProvider.getDefaultLIRSuites:()Lorg/graalvm/compiler/lir/phases/LIRSuites;
astore 10
start local 10 7: aload 6
aload 7
aload 0
invokevirtual org.graalvm.compiler.hotspot.test.AheadOfTimeCompilationTest.getProviders:()Lorg/graalvm/compiler/phases/util/Providers;
aload 0
invokevirtual org.graalvm.compiler.hotspot.test.AheadOfTimeCompilationTest.getBackend:()Lorg/graalvm/compiler/core/target/Backend;
aload 0
invokevirtual org.graalvm.compiler.hotspot.test.AheadOfTimeCompilationTest.getDefaultGraphBuilderSuite:()Lorg/graalvm/compiler/phases/PhaseSuite;
getstatic org.graalvm.compiler.phases.OptimisticOptimizations.ALL:Lorg/graalvm/compiler/phases/OptimisticOptimizations;
aload 6
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getProfilingInfo:()Ljdk/vm/ci/meta/ProfilingInfo;
8: aload 9
aload 10
new org.graalvm.compiler.code.CompilationResult
dup
invokespecial org.graalvm.compiler.code.CompilationResult.<init>:()V
getstatic org.graalvm.compiler.lir.asm.CompilationResultBuilderFactory.Default:Lorg/graalvm/compiler/lir/asm/CompilationResultBuilderFactory;
9: invokestatic org.graalvm.compiler.core.GraalCompiler.compileGraph:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/phases/util/Providers;Lorg/graalvm/compiler/core/target/Backend;Lorg/graalvm/compiler/phases/PhaseSuite;Lorg/graalvm/compiler/phases/OptimisticOptimizations;Ljdk/vm/ci/meta/ProfilingInfo;Lorg/graalvm/compiler/phases/tiers/Suites;Lorg/graalvm/compiler/lir/phases/LIRSuites;Lorg/graalvm/compiler/code/CompilationResult;Lorg/graalvm/compiler/lir/asm/CompilationResultBuilderFactory;)Lorg/graalvm/compiler/code/CompilationResult;
astore 11
start local 11 10: aload 0
aload 7
aload 11
invokevirtual org.graalvm.compiler.hotspot.test.AheadOfTimeCompilationTest.addMethod:(Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/code/CompilationResult;)Ljdk/vm/ci/code/InstalledCode;
pop
11: aload 6
12: aload 5
ifnull 13
aload 5
invokevirtual org.graalvm.compiler.options.OptionValue$OverrideScope.close:()V
13: StackMap locals: org.graalvm.compiler.hotspot.test.AheadOfTimeCompilationTest java.lang.String int java.lang.Throwable java.lang.Throwable org.graalvm.compiler.options.OptionValue$OverrideScope org.graalvm.compiler.nodes.StructuredGraph jdk.vm.ci.meta.ResolvedJavaMethod org.graalvm.compiler.phases.tiers.SuitesProvider org.graalvm.compiler.phases.tiers.Suites org.graalvm.compiler.lir.phases.LIRSuites org.graalvm.compiler.code.CompilationResult
StackMap stack: org.graalvm.compiler.nodes.StructuredGraph
areturn
end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 StackMap locals: org.graalvm.compiler.hotspot.test.AheadOfTimeCompilationTest java.lang.String int java.lang.Throwable java.lang.Throwable org.graalvm.compiler.options.OptionValue$OverrideScope
StackMap stack: java.lang.Throwable
14: astore 3
15: aload 5
ifnull 16
aload 5
invokevirtual org.graalvm.compiler.options.OptionValue$OverrideScope.close:()V
end local 5 StackMap locals:
StackMap stack:
16: aload 3
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
17: astore 4
aload 3
ifnonnull 18
aload 4
astore 3
goto 19
StackMap locals:
StackMap stack:
18: aload 3
aload 4
if_acmpeq 19
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
19: aload 3
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/graalvm/compiler/hotspot/test/AheadOfTimeCompilationTest;
0 20 1 test Ljava/lang/String;
0 20 2 compileAOT Z
2 16 5 s Lorg/graalvm/compiler/options/OptionValue$OverrideScope;
3 14 6 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
4 14 7 method Ljdk/vm/ci/meta/ResolvedJavaMethod;
5 14 8 suitesProvider Lorg/graalvm/compiler/phases/tiers/SuitesProvider;
6 14 9 suitesLocal Lorg/graalvm/compiler/phases/tiers/Suites;
7 14 10 lirSuitesLocal Lorg/graalvm/compiler/lir/phases/LIRSuites;
10 14 11 compResult Lorg/graalvm/compiler/code/CompilationResult;
Exception table:
from to target type
2 12 14 any
1 13 17 any
14 17 17 any
MethodParameters:
Name Flags
test
compileAOT
}
SourceFile: "AheadOfTimeCompilationTest.java"
InnerClasses:
public final AllowAssumptions = org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions of org.graalvm.compiler.nodes.StructuredGraph
public abstract OverrideScope = org.graalvm.compiler.options.OptionValue$OverrideScope of org.graalvm.compiler.options.OptionValue