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 parseEager(jdk.vm.ci.meta.ResolvedJavaMethod, org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions, org.graalvm.compiler.core.common.CompilationIdentifier);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;Lorg/graalvm/compiler/core/common/CompilationIdentifier;)Lorg/graalvm/compiler/nodes/StructuredGraph;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=12, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokespecial org.graalvm.compiler.core.test.GraalCompilerTest.parseEager:(Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;Lorg/graalvm/compiler/core/common/CompilationIdentifier;)Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 4
start local 4 1: aload 0
getfield org.graalvm.compiler.hotspot.test.InstalledCodeExecuteHelperTest.argsToBind:[Ljava/lang/Object;
ifnull 16
2: aload 1
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getModifiers:()I
invokestatic java.lang.reflect.Modifier.isStatic:(I)Z
ifeq 3
aconst_null
goto 4
StackMap locals: org.graalvm.compiler.nodes.StructuredGraph
StackMap stack:
3: aload 0
StackMap locals:
StackMap stack: org.graalvm.compiler.hotspot.test.InstalledCodeExecuteHelperTest
4: astore 5
start local 5 5: 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 6: aload 1
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.toParameterTypes:()[Ljdk/vm/ci/meta/JavaType;
astore 7
start local 7 7: getstatic org.graalvm.compiler.hotspot.test.InstalledCodeExecuteHelperTest.$assertionsDisabled:Z
ifne 8
aload 7
arraylength
aload 6
arraylength
if_icmpeq 8
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
8: StackMap locals: java.lang.Object java.lang.Object[] jdk.vm.ci.meta.JavaType[]
StackMap stack:
iconst_0
istore 8
start local 8 9: goto 15
10: StackMap locals: int
StackMap stack:
aload 4
iload 8
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getParameter:(I)Lorg/graalvm/compiler/nodes/ParameterNode;
astore 9
start local 9 11: 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 12: aload 10
aload 0
invokevirtual org.graalvm.compiler.hotspot.test.InstalledCodeExecuteHelperTest.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
aload 4
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 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 14: iinc 8 1
StackMap locals:
StackMap stack:
15: iload 8
aload 0
getfield org.graalvm.compiler.hotspot.test.InstalledCodeExecuteHelperTest.argsToBind:[Ljava/lang/Object;
arraylength
if_icmplt 10
end local 8 end local 7 end local 6 end local 5 16: StackMap locals: org.graalvm.compiler.hotspot.test.InstalledCodeExecuteHelperTest jdk.vm.ci.meta.ResolvedJavaMethod org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions org.graalvm.compiler.core.common.CompilationIdentifier org.graalvm.compiler.nodes.StructuredGraph
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/graalvm/compiler/hotspot/test/InstalledCodeExecuteHelperTest;
0 17 1 m Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 17 2 allowAssumptions Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;
0 17 3 compilationId Lorg/graalvm/compiler/core/common/CompilationIdentifier;
1 17 4 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
5 16 5 receiver Ljava/lang/Object;
6 16 6 args [Ljava/lang/Object;
7 16 7 parameterTypes [Ljdk/vm/ci/meta/JavaType;
9 16 8 i I
11 14 9 param Lorg/graalvm/compiler/nodes/ParameterNode;
12 14 10 c Ljdk/vm/ci/meta/JavaConstant;
13 14 11 replacement Lorg/graalvm/compiler/nodes/ConstantNode;
MethodParameters:
Name Flags
m
allowAssumptions
compilationId
}
SourceFile: "InstalledCodeExecuteHelperTest.java"
InnerClasses:
public final AllowAssumptions = org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions of org.graalvm.compiler.nodes.StructuredGraph