public class org.graalvm.compiler.core.test.CountedLoopTest2 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.core.test.CountedLoopTest2
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
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/CountedLoopTest2;
public static float countedDeoptLoop0(int);
descriptor: (I)F
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: fconst_0
fstore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 6
3: StackMap locals: float int
StackMap stack:
fload 1
ldc 2.1
iload 2
i2f
fmul
fadd
fstore 1
4: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.controlFlowAnchor:()V
5: iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
iload 0
if_icmplt 3
end local 2 7: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.deoptimizeAndInvalidate:()V
8: fload 1
freturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 n I
1 9 1 v F
2 7 2 i I
MethodParameters:
Name Flags
n
public void test0();
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/core/test/CountedLoopTest2;
RuntimeInvisibleAnnotations:
Test()
public static float countedDeoptLoop1(int);
descriptor: (I)F
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: fconst_0
fstore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 6
3: StackMap locals: float int
StackMap stack:
fload 1
ldc 2.1
iload 2
i2f
fmul
fadd
fstore 1
4: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.controlFlowAnchor:()V
5: iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
iload 0
if_icmplt 3
end local 2 7: fload 1
fconst_0
fcmpl
ifle 15
8: fload 1
ldc 55.0
fdiv
ldc 3.0
fcmpg
ifge 12
9: fload 1
fconst_2
fsub
fstore 1
10: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.controlFlowAnchor:()V
11: goto 17
12: StackMap locals:
StackMap stack:
fload 1
ldc 6.0
fadd
fstore 1
13: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.controlFlowAnchor:()V
14: goto 17
15: StackMap locals:
StackMap stack:
fload 1
fconst_1
fadd
fstore 1
16: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.controlFlowAnchor:()V
17: StackMap locals:
StackMap stack:
invokestatic org.graalvm.compiler.api.directives.GraalDirectives.deoptimizeAndInvalidate:()V
18: fload 1
freturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 n I
1 19 1 v F
2 7 2 i I
MethodParameters:
Name Flags
n
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 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/core/test/CountedLoopTest2;
RuntimeInvisibleAnnotations:
Test()
public static float countedDeoptLoop2(int, float);
descriptor: (IF)F
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: fload 1
fstore 2
start local 2 1: fload 2
fconst_0
fcmpl
ifle 17
2: fload 2
ldc 55.0
fdiv
ldc 3.0
fcmpg
ifge 10
3: iconst_0
istore 3
start local 3 4: goto 8
5: StackMap locals: float int
StackMap stack:
fload 2
ldc 2.1
iload 3
i2f
fmul
fadd
fstore 2
6: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.controlFlowAnchor:()V
7: iinc 3 1
StackMap locals:
StackMap stack:
8: iload 3
iload 0
if_icmplt 5
end local 3 9: goto 23
10: StackMap locals:
StackMap stack:
iconst_0
istore 3
start local 3 11: goto 15
12: StackMap locals: int
StackMap stack:
fload 2
ldc 1.1
iload 3
i2f
fmul
fadd
fstore 2
13: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.controlFlowAnchor:()V
14: iinc 3 1
StackMap locals:
StackMap stack:
15: iload 3
iload 0
if_icmplt 12
end local 3 16: goto 23
17: StackMap locals:
StackMap stack:
iconst_0
istore 3
start local 3 18: goto 22
19: StackMap locals: int
StackMap stack:
fload 2
ldc -0.1
iload 3
i2f
fmul
fadd
fstore 2
20: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.controlFlowAnchor:()V
21: iinc 3 1
StackMap locals:
StackMap stack:
22: iload 3
iload 0
if_icmplt 19
end local 3 23: StackMap locals:
StackMap stack:
invokestatic org.graalvm.compiler.api.directives.GraalDirectives.deoptimizeAndInvalidate:()V
24: fload 2
freturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 n I
0 25 1 init F
1 25 2 v F
4 9 3 i I
11 16 3 i I
18 23 3 i I
MethodParameters:
Name Flags
n
init
public void test2();
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/core/test/CountedLoopTest2;
RuntimeInvisibleAnnotations:
Test()
private void test(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_1
invokevirtual org.graalvm.compiler.core.test.CountedLoopTest2.test:(Ljava/lang/String;I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/core/test/CountedLoopTest2;
0 2 1 methodName Ljava/lang/String;
MethodParameters:
Name Flags
methodName
private void test(java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tAssert cannot be resolved\n\tAssert 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/core/test/CountedLoopTest2;
MethodParameters:
Name Flags
methodName
nLoops
}
SourceFile: "CountedLoopTest2.java"