public class org.graalvm.compiler.jtt.JTTTest 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.jtt.JTTTest
super_class: org.graalvm.compiler.core.test.GraalCompilerTest
{
protected static final java.util.Set<jdk.vm.ci.meta.DeoptimizationReason> EMPTY;
descriptor: Ljava/util/Set;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljdk/vm/ci/meta/DeoptimizationReason;>;
java.lang.Object[] argsToBind;
descriptor: [Ljava/lang/Object;
flags: (0x0000)
java.lang.Double delta;
descriptor: Ljava/lang/Double;
flags: (0x0000)
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/graalvm/compiler/jtt/JTTTest;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.graalvm.compiler.jtt.JTTTest.$assertionsDisabled:Z
3: invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
putstatic org.graalvm.compiler.jtt.JTTTest.EMPTY:Ljava/util/Set;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
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\tThe import org.junit cannot be resolved\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/jtt/JTTTest;
protected org.graalvm.compiler.nodes.StructuredGraph parse(org.graalvm.compiler.nodes.StructuredGraph$Builder, org.graalvm.compiler.phases.PhaseSuite<org.graalvm.compiler.phases.tiers.HighTierContext>);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph$Builder;Lorg/graalvm/compiler/phases/PhaseSuite;)Lorg/graalvm/compiler/nodes/StructuredGraph;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=12, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial org.graalvm.compiler.core.test.GraalCompilerTest.parse:(Lorg/graalvm/compiler/nodes/StructuredGraph$Builder;Lorg/graalvm/compiler/phases/PhaseSuite;)Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 3
start local 3 1: aload 0
getfield org.graalvm.compiler.jtt.JTTTest.argsToBind:[Ljava/lang/Object;
ifnull 15
2: aload 3
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.method:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
astore 4
start local 4 3: aload 4
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getModifiers:()I
invokestatic java.lang.reflect.Modifier.isStatic:(I)Z
ifeq 4
aconst_null
goto 5
StackMap locals: org.graalvm.compiler.nodes.StructuredGraph jdk.vm.ci.meta.ResolvedJavaMethod
StackMap stack:
4: aload 0
StackMap locals:
StackMap stack: org.graalvm.compiler.jtt.JTTTest
5: astore 5
start local 5 6: aload 0
aload 5
aload 0
getfield org.graalvm.compiler.jtt.JTTTest.argsToBind:[Ljava/lang/Object;
invokevirtual org.graalvm.compiler.jtt.JTTTest.argsWithReceiver:(Ljava/lang/Object;[Ljava/lang/Object;)[Ljava/lang/Object;
astore 6
start local 6 7: aload 4
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.toParameterTypes:()[Ljdk/vm/ci/meta/JavaType;
astore 7
start local 7 8: getstatic org.graalvm.compiler.jtt.JTTTest.$assertionsDisabled:Z
ifne 9
aload 7
arraylength
aload 6
arraylength
if_icmpeq 9
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
9: StackMap locals: java.lang.Object java.lang.Object[] jdk.vm.ci.meta.JavaType[]
StackMap stack:
aload 3
getstatic org.graalvm.compiler.nodes.ParameterNode.TYPE:Lorg/graalvm/compiler/graph/NodeClass;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getNodes:(Lorg/graalvm/compiler/graph/NodeClass;)Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.iterator:()Ljava/util/Iterator;
astore 9
goto 14
StackMap locals: org.graalvm.compiler.jtt.JTTTest org.graalvm.compiler.nodes.StructuredGraph$Builder org.graalvm.compiler.phases.PhaseSuite org.graalvm.compiler.nodes.StructuredGraph jdk.vm.ci.meta.ResolvedJavaMethod java.lang.Object java.lang.Object[] jdk.vm.ci.meta.JavaType[] top java.util.Iterator
StackMap stack:
10: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.ParameterNode
astore 8
start local 8 11: aload 0
invokevirtual org.graalvm.compiler.jtt.JTTTest.getSnippetReflection:()Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;
aload 7
aload 8
invokevirtual org.graalvm.compiler.nodes.ParameterNode.index:()I
aaload
invokeinterface jdk.vm.ci.meta.JavaType.getJavaKind:()Ljdk/vm/ci/meta/JavaKind;
aload 6
aload 8
invokevirtual org.graalvm.compiler.nodes.ParameterNode.index:()I
aaload
invokeinterface org.graalvm.compiler.api.replacements.SnippetReflectionProvider.forBoxed:(Ljdk/vm/ci/meta/JavaKind;Ljava/lang/Object;)Ljdk/vm/ci/meta/JavaConstant;
astore 10
start local 10 12: aload 10
aload 0
invokevirtual org.graalvm.compiler.jtt.JTTTest.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
aload 3
invokestatic org.graalvm.compiler.nodes.ConstantNode.forConstant:(Ljdk/vm/ci/meta/JavaConstant;Ljdk/vm/ci/meta/MetaAccessProvider;Lorg/graalvm/compiler/nodes/StructuredGraph;)Lorg/graalvm/compiler/nodes/ConstantNode;
astore 11
start local 11 13: aload 8
aload 11
invokevirtual org.graalvm.compiler.nodes.ParameterNode.replaceAtUsages:(Lorg/graalvm/compiler/graph/Node;)V
end local 11 end local 10 end local 8 14: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
end local 7 end local 6 end local 5 end local 4 15: StackMap locals: org.graalvm.compiler.jtt.JTTTest org.graalvm.compiler.nodes.StructuredGraph$Builder org.graalvm.compiler.phases.PhaseSuite org.graalvm.compiler.nodes.StructuredGraph
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/graalvm/compiler/jtt/JTTTest;
0 16 1 builder Lorg/graalvm/compiler/nodes/StructuredGraph$Builder;
0 16 2 graphBuilderSuite Lorg/graalvm/compiler/phases/PhaseSuite<Lorg/graalvm/compiler/phases/tiers/HighTierContext;>;
1 16 3 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
3 15 4 m Ljdk/vm/ci/meta/ResolvedJavaMethod;
6 15 5 receiver Ljava/lang/Object;
7 15 6 args [Ljava/lang/Object;
8 15 7 parameterTypes [Ljdk/vm/ci/meta/JavaType;
11 14 8 param Lorg/graalvm/compiler/nodes/ParameterNode;
12 14 10 c Ljdk/vm/ci/meta/JavaConstant;
13 14 11 replacement Lorg/graalvm/compiler/nodes/ConstantNode;
Signature: (Lorg/graalvm/compiler/nodes/StructuredGraph$Builder;Lorg/graalvm/compiler/phases/PhaseSuite<Lorg/graalvm/compiler/phases/tiers/HighTierContext;>;)Lorg/graalvm/compiler/nodes/StructuredGraph;
MethodParameters:
Name Flags
builder
graphBuilderSuite
protected jdk.vm.ci.code.InstalledCode getCode(jdk.vm.ci.meta.ResolvedJavaMethod, org.graalvm.compiler.nodes.StructuredGraph, boolean, boolean, org.graalvm.compiler.options.OptionValues);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/nodes/StructuredGraph;ZZLorg/graalvm/compiler/options/OptionValues;)Ljdk/vm/ci/code/InstalledCode;
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
aload 2
aload 0
getfield org.graalvm.compiler.jtt.JTTTest.argsToBind:[Ljava/lang/Object;
ifnull 1
iconst_1
goto 2
StackMap locals: org.graalvm.compiler.jtt.JTTTest jdk.vm.ci.meta.ResolvedJavaMethod org.graalvm.compiler.nodes.StructuredGraph int int org.graalvm.compiler.options.OptionValues
StackMap stack: org.graalvm.compiler.jtt.JTTTest jdk.vm.ci.meta.ResolvedJavaMethod org.graalvm.compiler.nodes.StructuredGraph
1: iconst_0
StackMap locals: org.graalvm.compiler.jtt.JTTTest jdk.vm.ci.meta.ResolvedJavaMethod org.graalvm.compiler.nodes.StructuredGraph int int org.graalvm.compiler.options.OptionValues
StackMap stack: org.graalvm.compiler.jtt.JTTTest jdk.vm.ci.meta.ResolvedJavaMethod org.graalvm.compiler.nodes.StructuredGraph int
2: iload 4
aload 5
invokespecial org.graalvm.compiler.core.test.GraalCompilerTest.getCode:(Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/nodes/StructuredGraph;ZZLorg/graalvm/compiler/options/OptionValues;)Ljdk/vm/ci/code/InstalledCode;
areturn
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 3 0 this Lorg/graalvm/compiler/jtt/JTTTest;
0 3 1 method Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 3 2 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 3 3 forceCompile Z
0 3 4 installAsDefault Z
0 3 5 options Lorg/graalvm/compiler/options/OptionValues;
MethodParameters:
Name Flags
method
graph
forceCompile
installAsDefault
options
protected void assertDeepEquals(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
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/jtt/JTTTest;
MethodParameters:
Name Flags
expected
actual
protected void runTestWithDelta(double, java.lang.String, java.lang.Object[]);
descriptor: (DLjava/lang/String;[Ljava/lang/Object;)V
flags: (0x0084) ACC_PROTECTED, ACC_VARARGS
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 3 start local 4 0: aload 0
dload 1
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
putfield org.graalvm.compiler.jtt.JTTTest.delta:Ljava/lang/Double;
1: aload 0
aload 3
aload 4
invokevirtual org.graalvm.compiler.jtt.JTTTest.runTest:(Ljava/lang/String;[Ljava/lang/Object;)V
2: return
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/jtt/JTTTest;
0 3 1 delta D
0 3 3 name Ljava/lang/String;
0 3 4 args [Ljava/lang/Object;
MethodParameters:
Name Flags
delta
name
args
protected void runTest(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)V
flags: (0x0084) ACC_PROTECTED, ACC_VARARGS
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokestatic org.graalvm.compiler.jtt.JTTTest.getInitialOptions:()Lorg/graalvm/compiler/options/OptionValues;
aload 1
aload 2
invokevirtual org.graalvm.compiler.jtt.JTTTest.runTest:(Lorg/graalvm/compiler/options/OptionValues;Ljava/lang/String;[Ljava/lang/Object;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/jtt/JTTTest;
0 2 1 name Ljava/lang/String;
0 2 2 args [Ljava/lang/Object;
MethodParameters:
Name Flags
name
args
protected void runTest(org.graalvm.compiler.options.OptionValues, java.lang.String, java.lang.Object[]);
descriptor: (Lorg/graalvm/compiler/options/OptionValues;Ljava/lang/String;[Ljava/lang/Object;)V
flags: (0x0084) ACC_PROTECTED, ACC_VARARGS
Code:
stack=7, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
getstatic org.graalvm.compiler.jtt.JTTTest.EMPTY:Ljava/util/Set;
iconst_1
iconst_0
aload 2
aload 3
invokevirtual org.graalvm.compiler.jtt.JTTTest.runTest:(Lorg/graalvm/compiler/options/OptionValues;Ljava/util/Set;ZZLjava/lang/String;[Ljava/lang/Object;)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/jtt/JTTTest;
0 2 1 options Lorg/graalvm/compiler/options/OptionValues;
0 2 2 name Ljava/lang/String;
0 2 3 args [Ljava/lang/Object;
MethodParameters:
Name Flags
options
name
args
protected void runTest(java.util.Set<jdk.vm.ci.meta.DeoptimizationReason>, java.lang.String, []);
descriptor: (Ljava/util/Set;Ljava/lang/String;[Ljava/lang/Object;)V
flags: (0x0084) ACC_PROTECTED, ACC_VARARGS
Code:
stack=7, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokestatic org.graalvm.compiler.jtt.JTTTest.getInitialOptions:()Lorg/graalvm/compiler/options/OptionValues;
aload 1
iconst_1
iconst_0
aload 2
aload 3
invokevirtual org.graalvm.compiler.jtt.JTTTest.runTest:(Lorg/graalvm/compiler/options/OptionValues;Ljava/util/Set;ZZLjava/lang/String;[Ljava/lang/Object;)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/jtt/JTTTest;
0 2 1 shouldNotDeopt Ljava/util/Set<Ljdk/vm/ci/meta/DeoptimizationReason;>;
0 2 2 name Ljava/lang/String;
0 2 3 args [Ljava/lang/Object;
Signature: (Ljava/util/Set<Ljdk/vm/ci/meta/DeoptimizationReason;>;Ljava/lang/String;[Ljava/lang/Object;)V
MethodParameters:
Name Flags
shouldNotDeopt
name
args
protected void runTest(org.graalvm.compiler.options.OptionValues, java.util.Set<jdk.vm.ci.meta.DeoptimizationReason>, boolean, boolean, java.lang.String, []);
descriptor: (Lorg/graalvm/compiler/options/OptionValues;Ljava/util/Set;ZZLjava/lang/String;[Ljava/lang/Object;)V
flags: (0x0084) ACC_PROTECTED, ACC_VARARGS
Code:
stack=7, locals=10, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
aload 5
invokevirtual org.graalvm.compiler.jtt.JTTTest.getResolvedJavaMethod:(Ljava/lang/String;)Ljdk/vm/ci/meta/ResolvedJavaMethod;
astore 7
start local 7 1: aload 7
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.isStatic:()Z
ifeq 2
aconst_null
goto 3
StackMap locals: jdk.vm.ci.meta.ResolvedJavaMethod
StackMap stack:
2: aload 0
StackMap locals:
StackMap stack: org.graalvm.compiler.jtt.JTTTest
3: astore 8
start local 8 4: aload 0
aload 7
aload 8
aload 6
invokevirtual org.graalvm.compiler.jtt.JTTTest.executeExpected:(Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljava/lang/Object;[Ljava/lang/Object;)Lorg/graalvm/compiler/core/test/GraalCompilerTest$Result;
astore 9
start local 9 5: iload 4
ifeq 7
6: aload 7
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.reprofile:()V
7: StackMap locals: java.lang.Object org.graalvm.compiler.core.test.GraalCompilerTest$Result
StackMap stack:
aload 0
aload 1
aload 7
aload 9
aload 2
aload 8
aload 6
invokevirtual org.graalvm.compiler.jtt.JTTTest.testAgainstExpected:(Lorg/graalvm/compiler/options/OptionValues;Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/core/test/GraalCompilerTest$Result;Ljava/util/Set;Ljava/lang/Object;[Ljava/lang/Object;)V
8: aload 6
arraylength
ifle 14
iload 3
ifeq 14
9: iload 4
ifeq 11
10: aload 7
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.reprofile:()V
11: StackMap locals:
StackMap stack:
aload 0
aload 6
putfield org.graalvm.compiler.jtt.JTTTest.argsToBind:[Ljava/lang/Object;
12: aload 0
aload 1
aload 7
aload 9
aload 2
aload 8
aload 6
invokevirtual org.graalvm.compiler.jtt.JTTTest.testAgainstExpected:(Lorg/graalvm/compiler/options/OptionValues;Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/core/test/GraalCompilerTest$Result;Ljava/util/Set;Ljava/lang/Object;[Ljava/lang/Object;)V
13: aload 0
aconst_null
putfield org.graalvm.compiler.jtt.JTTTest.argsToBind:[Ljava/lang/Object;
14: StackMap locals:
StackMap stack:
return
end local 9 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 15 0 this Lorg/graalvm/compiler/jtt/JTTTest;
0 15 1 options Lorg/graalvm/compiler/options/OptionValues;
0 15 2 shouldNotDeopt Ljava/util/Set<Ljdk/vm/ci/meta/DeoptimizationReason;>;
0 15 3 bind Z
0 15 4 noProfile Z
0 15 5 name Ljava/lang/String;
0 15 6 args [Ljava/lang/Object;
1 15 7 method Ljdk/vm/ci/meta/ResolvedJavaMethod;
4 15 8 receiver Ljava/lang/Object;
5 15 9 expect Lorg/graalvm/compiler/core/test/GraalCompilerTest$Result;
Signature: (Lorg/graalvm/compiler/options/OptionValues;Ljava/util/Set<Ljdk/vm/ci/meta/DeoptimizationReason;>;ZZLjava/lang/String;[Ljava/lang/Object;)V
MethodParameters:
Name Flags
options
shouldNotDeopt
bind
noProfile
name
args
}
SourceFile: "JTTTest.java"
NestMembers:
org.graalvm.compiler.jtt.JTTTest$DummyTestClass
InnerClasses:
public Result = org.graalvm.compiler.core.test.GraalCompilerTest$Result of org.graalvm.compiler.core.test.GraalCompilerTest
public final DummyTestClass = org.graalvm.compiler.jtt.JTTTest$DummyTestClass of org.graalvm.compiler.jtt.JTTTest
public Builder = org.graalvm.compiler.nodes.StructuredGraph$Builder of org.graalvm.compiler.nodes.StructuredGraph