public class org.graalvm.compiler.jtt.hotpath.HP_life extends org.graalvm.compiler.jtt.JTTTest
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.jtt.hotpath.HP_life
super_class: org.graalvm.compiler.jtt.JTTTest
{
private static final int rows;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 20
private static final int cols;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 20
private static boolean[] cells;
descriptor: [Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: sipush 400
newarray 4
putstatic org.graalvm.compiler.jtt.hotpath.HP_life.cells:[Z
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.jtt.JTTTest.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/jtt/hotpath/HP_life;
public static int test(int);
descriptor: (I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: invokestatic org.graalvm.compiler.jtt.hotpath.HP_life.reset:()V
1: iconst_0
istore 1
start local 1 2: goto 5
3: StackMap locals: int
StackMap stack:
invokestatic org.graalvm.compiler.jtt.hotpath.HP_life.step:()Z
pop
4: iinc 1 1
StackMap locals:
StackMap stack:
5: iload 1
iload 0
if_icmplt 3
end local 1 6: iconst_0
istore 1
start local 1 7: iconst_0
istore 2
start local 2 8: goto 18
9: StackMap locals: int
StackMap stack:
iconst_0
istore 3
start local 3 10: goto 16
11: StackMap locals: int
StackMap stack:
iload 2
iload 3
invokestatic org.graalvm.compiler.jtt.hotpath.HP_life.cell:(II)Z
istore 4
start local 4 12: iload 1
iload 2
ldc 15223242
imul
iload 3
ldc 21623234
imul
iadd
iload 4
ifeq 13
iconst_1
goto 14
StackMap locals: int int int int int
StackMap stack: int int
13: iconst_0
StackMap locals: int int int int int
StackMap stack: int int int
14: ldc 15323142
imul
ixor
iadd
istore 1
end local 4 15: iinc 3 1
StackMap locals:
StackMap stack:
16: iload 3
bipush 20
if_icmplt 11
end local 3 17: iinc 2 1
StackMap locals:
StackMap stack:
18: iload 2
bipush 20
if_icmplt 9
end local 2 19: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 generations I
2 6 1 i I
7 20 1 sum I
8 19 2 row I
10 17 3 col I
12 15 4 value Z
MethodParameters:
Name Flags
generations
private static boolean cell(int, int);
descriptor: (II)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 0
iflt 1
iload 0
bipush 20
if_icmpge 1
iload 1
iflt 1
iload 1
bipush 20
if_icmpge 1
getstatic org.graalvm.compiler.jtt.hotpath.HP_life.cells:[Z
iload 0
bipush 20
imul
iload 1
iadd
baload
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 row I
0 2 1 col I
MethodParameters:
Name Flags
row
col
private static boolean step();
descriptor: ()Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=8, args_size=0
0: sipush 400
newarray 4
astore 0
start local 0 1: iconst_0
istore 1
start local 1 2: bipush 19
istore 2
start local 2 3: goto 36
4: StackMap locals: boolean[] int int
StackMap stack:
iload 2
bipush 20
imul
istore 3
start local 3 5: bipush 19
istore 4
start local 4 6: goto 34
7: StackMap locals: int int
StackMap stack:
iconst_0
istore 5
start local 5 8: iload 2
iconst_1
isub
iload 4
iconst_1
isub
invokestatic org.graalvm.compiler.jtt.hotpath.HP_life.cell:(II)Z
ifeq 10
9: iinc 5 1
10: StackMap locals: int
StackMap stack:
iload 2
iconst_1
isub
iload 4
invokestatic org.graalvm.compiler.jtt.hotpath.HP_life.cell:(II)Z
ifeq 12
11: iinc 5 1
12: StackMap locals:
StackMap stack:
iload 2
iconst_1
isub
iload 4
iconst_1
iadd
invokestatic org.graalvm.compiler.jtt.hotpath.HP_life.cell:(II)Z
ifeq 14
13: iinc 5 1
14: StackMap locals:
StackMap stack:
iload 2
iload 4
iconst_1
isub
invokestatic org.graalvm.compiler.jtt.hotpath.HP_life.cell:(II)Z
ifeq 16
15: iinc 5 1
16: StackMap locals:
StackMap stack:
iload 2
iload 4
iconst_1
iadd
invokestatic org.graalvm.compiler.jtt.hotpath.HP_life.cell:(II)Z
ifeq 18
17: iinc 5 1
18: StackMap locals:
StackMap stack:
iload 2
iconst_1
iadd
iload 4
iconst_1
isub
invokestatic org.graalvm.compiler.jtt.hotpath.HP_life.cell:(II)Z
ifeq 20
19: iinc 5 1
20: StackMap locals:
StackMap stack:
iload 2
iconst_1
iadd
iload 4
invokestatic org.graalvm.compiler.jtt.hotpath.HP_life.cell:(II)Z
ifeq 22
21: iinc 5 1
22: StackMap locals:
StackMap stack:
iload 2
iconst_1
iadd
iload 4
iconst_1
iadd
invokestatic org.graalvm.compiler.jtt.hotpath.HP_life.cell:(II)Z
ifeq 24
23: iinc 5 1
24: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.jtt.hotpath.HP_life.cells:[Z
iload 3
iload 4
iadd
baload
istore 6
start local 6 25: iload 6
ifne 26
iload 5
iconst_3
if_icmpeq 28
StackMap locals: int
StackMap stack:
26: iload 6
ifeq 27
iload 5
iconst_2
if_icmpeq 28
iload 5
iconst_3
if_icmpeq 28
StackMap locals:
StackMap stack:
27: iconst_0
goto 29
StackMap locals:
StackMap stack:
28: iconst_1
StackMap locals:
StackMap stack: int
29: istore 7
start local 7 30: iload 1
ifne 32
iload 7
iload 6
if_icmpeq 32
31: iconst_1
istore 1
32: StackMap locals: int
StackMap stack:
aload 0
iload 3
iload 4
iadd
iload 7
bastore
end local 7 end local 6 end local 5 33: iinc 4 -1
StackMap locals:
StackMap stack:
34: iload 4
ifge 7
end local 4 end local 3 35: iinc 2 -1
StackMap locals:
StackMap stack:
36: iload 2
ifge 4
end local 2 37: aload 0
putstatic org.graalvm.compiler.jtt.hotpath.HP_life.cells:[Z
38: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 39 0 next [Z
2 39 1 changed Z
3 37 2 row I
5 35 3 row_offset I
6 35 4 col I
8 33 5 count I
25 33 6 old_state Z
30 33 7 new_state Z
private static void reset();
descriptor: ()V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=3, args_size=0
0: new java.util.Random
dup
lconst_0
invokespecial java.util.Random.<init>:(J)V
astore 0
start local 0 1: getstatic org.graalvm.compiler.jtt.hotpath.HP_life.cells:[Z
astore 1
start local 1 2: iconst_0
istore 2
start local 2 3: goto 8
4: StackMap locals: java.util.Random boolean[] int
StackMap stack:
aload 1
iload 2
aload 0
invokevirtual java.util.Random.nextDouble:()D
ldc 0.5
dcmpl
ifle 5
iconst_1
goto 6
StackMap locals: java.util.Random boolean[] int
StackMap stack: boolean[] int
5: iconst_0
StackMap locals: java.util.Random boolean[] int
StackMap stack: boolean[] int int
6: bastore
7: iinc 2 1
StackMap locals:
StackMap stack:
8: iload 2
aload 1
arraylength
if_icmplt 4
end local 2 9: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 10 0 random Ljava/util/Random;
2 10 1 cells2 [Z
3 9 2 offset I
public void run0();
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/jtt/hotpath/HP_life;
Exceptions:
throws java.lang.Throwable
RuntimeInvisibleAnnotations:
Test()
}
SourceFile: "HP_life.java"