public class org.graalvm.compiler.hotspot.test.InstalledCodeExecuteHelperTest 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.InstalledCodeExecuteHelperTest
super_class: org.graalvm.compiler.core.test.GraalCompilerTest
{
private static final int ITERATIONS;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 100000
java.lang.Object[] argsToBind;
descriptor: [Ljava/lang/Object;
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/hotspot/test/InstalledCodeExecuteHelperTest;
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.hotspot.test.InstalledCodeExecuteHelperTest.$assertionsDisabled:Z
3: 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/InstalledCodeExecuteHelperTest;
public void test1();
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\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/InstalledCodeExecuteHelperTest;
Exceptions:
throws jdk.vm.ci.code.InvalidInstalledCodeException
RuntimeInvisibleAnnotations:
Test()
public static java.lang.Integer benchmark(jdk.vm.ci.hotspot.HotSpotInstalledCode);
descriptor: (Ljdk/vm/ci/hotspot/HotSpotInstalledCode;)Ljava/lang/Integer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 9
3: StackMap locals: int int
StackMap stack:
iconst_0
istore 3
start local 3 4: goto 7
5: StackMap locals: int
StackMap stack:
aload 0
iconst_0
anewarray java.lang.Object
invokevirtual jdk.vm.ci.hotspot.HotSpotInstalledCode.executeVarargs:([Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 1
6: iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
ldc 100000
if_icmplt 5
end local 3 8: iinc 2 1
StackMap locals:
StackMap stack:
9: iload 2
bipush 100
if_icmplt 3
end local 2 10: iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 code Ljdk/vm/ci/hotspot/HotSpotInstalledCode;
1 11 1 val I
2 10 2 j I
4 8 3 i I
Exceptions:
throws jdk.vm.ci.code.InvalidInstalledCodeException
MethodParameters:
Name Flags
code
public static java.lang.Integer foo();
descriptor: ()Ljava/lang/Integer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: bipush 42
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
areturn
LocalVariableTable:
Start End Slot Name Signature
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.hotspot.test.InstalledCodeExecuteHelperTest.argsToBind:[Ljava/lang/Object;
ifnull 17
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.hotspot.test.InstalledCodeExecuteHelperTest
5: astore 5
start local 5 6: aload 0
aload 5
aload 0
getfield org.graalvm.compiler.hotspot.test.InstalledCodeExecuteHelperTest.argsToBind:[Ljava/lang/Object;
invokevirtual org.graalvm.compiler.hotspot.test.InstalledCodeExecuteHelperTest.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.hotspot.test.InstalledCodeExecuteHelperTest.$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:
iconst_0
istore 8
start local 8 10: goto 16
11: StackMap locals: int
StackMap stack:
aload 3
iload 8
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getParameter:(I)Lorg/graalvm/compiler/nodes/ParameterNode;
astore 9
start local 9 12: aload 0
invokevirtual org.graalvm.compiler.hotspot.test.InstalledCodeExecuteHelperTest.getSnippetReflection:()Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;
aload 7
iload 8
aaload
invokeinterface jdk.vm.ci.meta.JavaType.getJavaKind:()Ljdk/vm/ci/meta/JavaKind;
aload 0
getfield org.graalvm.compiler.hotspot.test.InstalledCodeExecuteHelperTest.argsToBind:[Ljava/lang/Object;
iload 8
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 13: aload 10
aload 0
invokevirtual org.graalvm.compiler.hotspot.test.InstalledCodeExecuteHelperTest.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 14: aload 9
aload 11
invokevirtual org.graalvm.compiler.nodes.ParameterNode.replaceAtUsages:(Lorg/graalvm/compiler/graph/Node;)V
end local 11 end local 10 end local 9 15: iinc 8 1
StackMap locals:
StackMap stack:
16: iload 8
aload 0
getfield org.graalvm.compiler.hotspot.test.InstalledCodeExecuteHelperTest.argsToBind:[Ljava/lang/Object;
arraylength
if_icmplt 11
end local 8 end local 7 end local 6 end local 5 end local 4 17: StackMap locals: org.graalvm.compiler.hotspot.test.InstalledCodeExecuteHelperTest 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 18 0 this Lorg/graalvm/compiler/hotspot/test/InstalledCodeExecuteHelperTest;
0 18 1 builder Lorg/graalvm/compiler/nodes/StructuredGraph$Builder;
0 18 2 graphBuilderSuite Lorg/graalvm/compiler/phases/PhaseSuite<Lorg/graalvm/compiler/phases/tiers/HighTierContext;>;
1 18 3 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
3 17 4 m Ljdk/vm/ci/meta/ResolvedJavaMethod;
6 17 5 receiver Ljava/lang/Object;
7 17 6 args [Ljava/lang/Object;
8 17 7 parameterTypes [Ljdk/vm/ci/meta/JavaType;
10 17 8 i I
12 15 9 param Lorg/graalvm/compiler/nodes/ParameterNode;
13 15 10 c Ljdk/vm/ci/meta/JavaConstant;
14 15 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
}
SourceFile: "InstalledCodeExecuteHelperTest.java"
InnerClasses:
public Builder = org.graalvm.compiler.nodes.StructuredGraph$Builder of org.graalvm.compiler.nodes.StructuredGraph