public abstract class org.graalvm.compiler.core.test.GraalCompilerAssumptionsTest extends org.graalvm.compiler.core.test.GraalCompilerTest
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.graalvm.compiler.core.test.GraalCompilerAssumptionsTest
super_class: org.graalvm.compiler.core.test.GraalCompilerTest
{
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
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/core/test/GraalCompilerAssumptionsTest;
public void <init>(java.lang.Class<? extends jdk.vm.ci.code.Architecture>);
descriptor: (Ljava/lang/Class;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.graalvm.compiler.core.test.GraalCompilerTest.<init>:(Ljava/lang/Class;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/core/test/GraalCompilerAssumptionsTest;
0 2 1 arch Ljava/lang/Class<+Ljdk/vm/ci/code/Architecture;>;
Signature: (Ljava/lang/Class<+Ljdk/vm/ci/code/Architecture;>;)V
MethodParameters:
Name Flags
arch
protected void testAssumptionInvalidate(java.lang.String, jdk.vm.ci.meta.Assumptions$Assumption, java.lang.String);
descriptor: (Ljava/lang/String;Ljdk/vm/ci/meta/Assumptions$Assumption;Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
iconst_1
invokevirtual org.graalvm.compiler.core.test.GraalCompilerAssumptionsTest.testAssumption:(Ljava/lang/String;Ljdk/vm/ci/meta/Assumptions$Assumption;Ljava/lang/String;Z)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/core/test/GraalCompilerAssumptionsTest;
0 2 1 methodName Ljava/lang/String;
0 2 2 expected Ljdk/vm/ci/meta/Assumptions$Assumption;
0 2 3 classToLoad Ljava/lang/String;
MethodParameters:
Name Flags
methodName
expected
classToLoad
protected void testAssumption(java.lang.String, jdk.vm.ci.meta.Assumptions$Assumption, java.lang.String, boolean);
descriptor: (Ljava/lang/String;Ljdk/vm/ci/meta/Assumptions$Assumption;Ljava/lang/String;Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=10, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
invokevirtual org.graalvm.compiler.core.test.GraalCompilerAssumptionsTest.getResolvedJavaMethod:(Ljava/lang/String;)Ljdk/vm/ci/meta/ResolvedJavaMethod;
astore 5
start local 5 1: aload 0
aload 5
getstatic org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions.YES:Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;
invokevirtual org.graalvm.compiler.core.test.GraalCompilerAssumptionsTest.parseEager:(Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;)Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 6
start local 6 2: aload 6
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getAssumptions:()Ljdk/vm/ci/meta/Assumptions;
invokevirtual jdk.vm.ci.meta.Assumptions.isEmpty:()Z
ifeq 3
iconst_0
goto 4
StackMap locals: jdk.vm.ci.meta.ResolvedJavaMethod org.graalvm.compiler.nodes.StructuredGraph
StackMap stack:
3: iconst_1
StackMap locals:
StackMap stack: int
4: invokestatic org.graalvm.compiler.core.test.GraalCompilerAssumptionsTest.assertTrue:(Z)V
5: aload 0
aload 2
aload 6
invokevirtual org.graalvm.compiler.core.test.GraalCompilerAssumptionsTest.checkGraph:(Ljdk/vm/ci/meta/Assumptions$Assumption;Lorg/graalvm/compiler/nodes/StructuredGraph;)V
6: aload 0
aload 5
aload 6
invokevirtual org.graalvm.compiler.core.test.GraalCompilerAssumptionsTest.compile:(Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/nodes/StructuredGraph;)Lorg/graalvm/compiler/code/CompilationResult;
astore 7
start local 7 7: aload 0
invokevirtual org.graalvm.compiler.core.test.GraalCompilerAssumptionsTest.getBackend:()Lorg/graalvm/compiler/core/target/Backend;
aload 5
aload 7
invokevirtual org.graalvm.compiler.core.target.Backend.createDefaultInstalledCode:(Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/code/CompilationResult;)Ljdk/vm/ci/code/InstalledCode;
astore 8
start local 8 8: aload 8
invokevirtual jdk.vm.ci.code.InstalledCode.isValid:()Z
invokestatic org.graalvm.compiler.core.test.GraalCompilerAssumptionsTest.assertTrue:(Z)V
9: aload 3
ifnull 22
10: new java.lang.StringBuilder
dup
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "$"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 9
start local 9 11: aload 9
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
pop
12: goto 15
StackMap locals: org.graalvm.compiler.core.test.GraalCompilerAssumptionsTest java.lang.String jdk.vm.ci.meta.Assumptions$Assumption java.lang.String int jdk.vm.ci.meta.ResolvedJavaMethod org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.code.CompilationResult jdk.vm.ci.code.InstalledCode java.lang.String
StackMap stack: java.lang.ClassNotFoundException
13: pop
14: ldc "Can't find class %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 9
aastore
invokestatic org.graalvm.compiler.core.test.GraalCompilerAssumptionsTest.fail:(Ljava/lang/String;[Ljava/lang/Object;)V
15: StackMap locals:
StackMap stack:
iload 4
ifeq 16
iconst_0
goto 17
StackMap locals:
StackMap stack:
16: iconst_1
StackMap locals:
StackMap stack: int
17: aload 8
invokevirtual jdk.vm.ci.code.InstalledCode.isValid:()Z
if_icmpne 18
iconst_1
goto 19
StackMap locals:
StackMap stack:
18: iconst_0
StackMap locals:
StackMap stack: int
19: ldc "method should be %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
iload 4
ifeq 20
ldc "invalid"
goto 21
StackMap locals: org.graalvm.compiler.core.test.GraalCompilerAssumptionsTest java.lang.String jdk.vm.ci.meta.Assumptions$Assumption java.lang.String int jdk.vm.ci.meta.ResolvedJavaMethod org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.code.CompilationResult jdk.vm.ci.code.InstalledCode java.lang.String
StackMap stack: int java.lang.String java.lang.Object[] java.lang.Object[] int
20: ldc "valid"
StackMap locals: org.graalvm.compiler.core.test.GraalCompilerAssumptionsTest java.lang.String jdk.vm.ci.meta.Assumptions$Assumption java.lang.String int jdk.vm.ci.meta.ResolvedJavaMethod org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.code.CompilationResult jdk.vm.ci.code.InstalledCode java.lang.String
StackMap stack: int java.lang.String java.lang.Object[] java.lang.Object[] int java.lang.String
21: aastore
invokestatic org.graalvm.compiler.core.test.GraalCompilerAssumptionsTest.assertTrue:(ZLjava/lang/String;[Ljava/lang/Object;)V
end local 9 22: StackMap locals:
StackMap stack:
return
end local 8 end local 7 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 23 0 this Lorg/graalvm/compiler/core/test/GraalCompilerAssumptionsTest;
0 23 1 methodName Ljava/lang/String;
0 23 2 expectedAssumption Ljdk/vm/ci/meta/Assumptions$Assumption;
0 23 3 classToLoad Ljava/lang/String;
0 23 4 willInvalidate Z
1 23 5 javaMethod Ljdk/vm/ci/meta/ResolvedJavaMethod;
2 23 6 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
7 23 7 compilationResult Lorg/graalvm/compiler/code/CompilationResult;
8 23 8 installedCode Ljdk/vm/ci/code/InstalledCode;
11 22 9 fullName Ljava/lang/String;
Exception table:
from to target type
11 12 13 Class java.lang.ClassNotFoundException
MethodParameters:
Name Flags
methodName
expectedAssumption
classToLoad
willInvalidate
protected void checkGraph(jdk.vm.ci.meta.Assumptions$Assumption, org.graalvm.compiler.nodes.StructuredGraph);
descriptor: (Ljdk/vm/ci/meta/Assumptions$Assumption;Lorg/graalvm/compiler/nodes/StructuredGraph;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=6, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: aload 2
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getAssumptions:()Ljdk/vm/ci/meta/Assumptions;
invokevirtual jdk.vm.ci.meta.Assumptions.iterator:()Ljava/util/Iterator;
astore 5
goto 5
StackMap locals: org.graalvm.compiler.core.test.GraalCompilerAssumptionsTest jdk.vm.ci.meta.Assumptions$Assumption org.graalvm.compiler.nodes.StructuredGraph int top java.util.Iterator
StackMap stack:
2: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.vm.ci.meta.Assumptions$Assumption
astore 4
start local 4 3: aload 1
aload 4
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 5
4: iconst_1
istore 3
end local 4 5: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
6: iload 3
ldc "Can't find assumption %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokestatic org.graalvm.compiler.core.test.GraalCompilerAssumptionsTest.assertTrue:(ZLjava/lang/String;[Ljava/lang/Object;)V
7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/graalvm/compiler/core/test/GraalCompilerAssumptionsTest;
0 8 1 expectedAssumption Ljdk/vm/ci/meta/Assumptions$Assumption;
0 8 2 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
1 8 3 found Z
3 5 4 a Ljdk/vm/ci/meta/Assumptions$Assumption;
MethodParameters:
Name Flags
expectedAssumption
graph
protected jdk.vm.ci.meta.ResolvedJavaType resolveAndInitialize(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljdk/vm/ci/meta/ResolvedJavaType;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.graalvm.compiler.core.test.GraalCompilerAssumptionsTest.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
aload 1
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.lookupJavaType:(Ljava/lang/Class;)Ljdk/vm/ci/meta/ResolvedJavaType;
astore 2
start local 2 1: aload 2
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.initialize:()V
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/core/test/GraalCompilerAssumptionsTest;
0 3 1 clazz Ljava/lang/Class<*>;
1 3 2 type Ljdk/vm/ci/meta/ResolvedJavaType;
Signature: (Ljava/lang/Class<*>;)Ljdk/vm/ci/meta/ResolvedJavaType;
MethodParameters:
Name Flags
clazz
}
SourceFile: "GraalCompilerAssumptionsTest.java"
InnerClasses:
public abstract Assumption = jdk.vm.ci.meta.Assumptions$Assumption of jdk.vm.ci.meta.Assumptions
public final AllowAssumptions = org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions of org.graalvm.compiler.nodes.StructuredGraph