public class org.graalvm.compiler.jtt.hotpath.HP_series 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_series
super_class: org.graalvm.compiler.jtt.JTTTest
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // org.graalvm.compiler.jtt.hotpath.HP_series this
0: .line 34
aload 0 /* this */
invokespecial org.graalvm.compiler.jtt.JTTTest.<init>:()V
return
end local 0 // org.graalvm.compiler.jtt.hotpath.HP_series this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/jtt/hotpath/HP_series;
public static double test(int);
descriptor: (I)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=11, locals=12, args_size=1
start local 0 // int count
0: .line 37
iload 0 /* count */
istore 1 /* arrayRows */
start local 1 // int arrayRows
1: .line 38
iconst_2
iload 1 /* arrayRows */
multianewarray [[D 2
astore 2 /* testArray */
start local 2 // double[][] testArray
2: .line 40
aload 2 /* testArray */
iconst_0
aaload
iconst_0
dconst_0
3: .line 41
ldc 2.0
4: .line 42
sipush 1000
5: .line 43
dconst_0
6: .line 44
iconst_0
7: .line 40
invokestatic org.graalvm.compiler.jtt.hotpath.HP_series.TrapezoidIntegrate:(DDIDI)D
8: .line 44
ldc 2.0
ddiv
9: .line 40
dastore
10: .line 45
ldc 3.141592653589793
dstore 3 /* omega */
start local 3 // double omega
11: .line 46
iconst_1
istore 5 /* i */
start local 5 // int i
12: goto 16
13: .line 47
StackMap locals: int int double[][] double int
StackMap stack:
aload 2 /* testArray */
iconst_0
aaload
iload 5 /* i */
dconst_0
ldc 2.0
sipush 1000
dload 3 /* omega */
iload 5 /* i */
i2d
dmul
iconst_1
invokestatic org.graalvm.compiler.jtt.hotpath.HP_series.TrapezoidIntegrate:(DDIDI)D
dastore
14: .line 49
aload 2 /* testArray */
iconst_1
aaload
iload 5 /* i */
dconst_0
ldc 2.0
sipush 1000
dload 3 /* omega */
iload 5 /* i */
i2d
dmul
iconst_2
invokestatic org.graalvm.compiler.jtt.hotpath.HP_series.TrapezoidIntegrate:(DDIDI)D
dastore
15: .line 46
iinc 5 /* i */ 1
StackMap locals:
StackMap stack:
16: iload 5 /* i */
iload 1 /* arrayRows */
if_icmplt 13
end local 5 // int i
17: .line 52
iconst_4
anewarray double[]
dup
iconst_0
iconst_2
newarray 7
dup
iconst_0
ldc 2.8729524964837996
dastore
dup
iconst_1
dconst_0
dastore
aastore
dup
iconst_1
iconst_2
newarray 7
dup
iconst_0
ldc 1.1161046676147888
dastore
dup
iconst_1
ldc -1.8819691893398025
dastore
aastore
dup
iconst_2
iconst_2
newarray 7
dup
iconst_0
ldc 0.34429060398168704
dastore
dup
iconst_1
ldc -1.1645642623320958
dastore
aastore
dup
iconst_3
iconst_2
newarray 7
dup
iconst_0
ldc 0.15238898702519288
dastore
dup
iconst_1
ldc -0.8143461113044298
dastore
aastore
astore 5 /* ref */
start local 5 // double[][] ref
18: .line 53
dconst_0
dstore 6 /* error */
start local 6 // double error
19: .line 54
dconst_0
dstore 8 /* sum */
start local 8 // double sum
20: .line 55
iconst_0
istore 10 /* i */
start local 10 // int i
21: goto 29
22: .line 56
StackMap locals: int int double[][] double double[][] double double int
StackMap stack:
iconst_0
istore 11 /* j */
start local 11 // int j
23: goto 27
24: .line 57
StackMap locals: int
StackMap stack:
dload 6 /* error */
aload 2 /* testArray */
iload 11 /* j */
aaload
iload 10 /* i */
daload
aload 5 /* ref */
iload 10 /* i */
aaload
iload 11 /* j */
daload
dsub
invokestatic java.lang.Math.abs:(D)D
dadd
dstore 6 /* error */
25: .line 58
dload 8 /* sum */
aload 2 /* testArray */
iload 11 /* j */
aaload
iload 10 /* i */
daload
dadd
dstore 8 /* sum */
26: .line 56
iinc 11 /* j */ 1
StackMap locals:
StackMap stack:
27: iload 11 /* j */
iconst_2
if_icmplt 24
end local 11 // int j
28: .line 55
iinc 10 /* i */ 1
StackMap locals:
StackMap stack:
29: iload 10 /* i */
iconst_4
if_icmplt 22
end local 10 // int i
30: .line 61
dload 8 /* sum */
dload 6 /* error */
dadd
dreturn
end local 8 // double sum
end local 6 // double error
end local 5 // double[][] ref
end local 3 // double omega
end local 2 // double[][] testArray
end local 1 // int arrayRows
end local 0 // int count
LocalVariableTable:
Start End Slot Name Signature
0 31 0 count I
1 31 1 arrayRows I
2 31 2 testArray [[D
11 31 3 omega D
12 17 5 i I
18 31 5 ref [[D
19 31 6 error D
20 31 8 sum D
21 30 10 i I
23 28 11 j I
MethodParameters:
Name Flags
count
private static double TrapezoidIntegrate(double, double, int, double, int);
descriptor: (DDIDI)D
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=15, args_size=5
start local 0 // double x0
start local 2 // double x1
start local 4 // int ns
start local 5 // double omegan
start local 7 // int select
0: .line 70
iload 4 /* ns */
istore 8 /* nsteps */
start local 8 // int nsteps
1: .line 75
dload 0 /* x0 */
dstore 9 /* x */
start local 9 // double x
2: .line 76
dload 2 /* x1 */
dload 0 /* x0 */
dsub
iload 8 /* nsteps */
i2d
ddiv
dstore 11 /* dx */
start local 11 // double dx
3: .line 77
dload 0 /* x0 */
dload 5 /* omegan */
iload 7 /* select */
invokestatic org.graalvm.compiler.jtt.hotpath.HP_series.thefunction:(DDI)D
ldc 2.0
ddiv
dstore 13 /* rvalue */
start local 13 // double rvalue
4: .line 78
iload 8 /* nsteps */
iconst_1
if_icmpeq 10
5: .line 79
iinc 8 /* nsteps */ -1
6: .line 80
goto 9
7: .line 81
StackMap locals: double double int double int int double double double
StackMap stack:
dload 9 /* x */
dload 11 /* dx */
dadd
dstore 9 /* x */
8: .line 82
dload 13 /* rvalue */
dload 9 /* x */
dload 5 /* omegan */
iload 7 /* select */
invokestatic org.graalvm.compiler.jtt.hotpath.HP_series.thefunction:(DDI)D
dadd
dstore 13 /* rvalue */
9: .line 80
StackMap locals:
StackMap stack:
iinc 8 /* nsteps */ -1
iload 8 /* nsteps */
ifgt 7
10: .line 85
StackMap locals:
StackMap stack:
dload 13 /* rvalue */
dload 2 /* x1 */
dload 5 /* omegan */
iload 7 /* select */
invokestatic org.graalvm.compiler.jtt.hotpath.HP_series.thefunction:(DDI)D
ldc 2.0
ddiv
dadd
dload 11 /* dx */
dmul
dstore 13 /* rvalue */
11: .line 86
dload 13 /* rvalue */
dreturn
end local 13 // double rvalue
end local 11 // double dx
end local 9 // double x
end local 8 // int nsteps
end local 7 // int select
end local 5 // double omegan
end local 4 // int ns
end local 2 // double x1
end local 0 // double x0
LocalVariableTable:
Start End Slot Name Signature
0 12 0 x0 D
0 12 2 x1 D
0 12 4 ns I
0 12 5 omegan D
0 12 7 select I
1 12 8 nsteps I
2 12 9 x D
3 12 11 dx D
4 12 13 rvalue D
MethodParameters:
Name Flags
x0
x1
ns
omegan
select
private static double thefunction(double, double, int);
descriptor: (DDI)D
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=5, args_size=3
start local 0 // double x
start local 2 // double omegan
start local 4 // int select
0: .line 93
iload 4 /* select */
tableswitch { // 0 - 2
0: 1
1: 2
2: 3
default: 4
}
1: .line 95
StackMap locals:
StackMap stack:
dload 0 /* x */
dconst_1
dadd
dload 0 /* x */
invokestatic java.lang.Math.pow:(DD)D
dreturn
2: .line 97
StackMap locals:
StackMap stack:
dload 0 /* x */
dconst_1
dadd
dload 0 /* x */
invokestatic java.lang.Math.pow:(DD)D
dload 2 /* omegan */
dload 0 /* x */
dmul
invokestatic java.lang.Math.cos:(D)D
dmul
dreturn
3: .line 99
StackMap locals:
StackMap stack:
dload 0 /* x */
dconst_1
dadd
dload 0 /* x */
invokestatic java.lang.Math.pow:(DD)D
dload 2 /* omegan */
dload 0 /* x */
dmul
invokestatic java.lang.Math.sin:(D)D
dmul
dreturn
4: .line 101
StackMap locals:
StackMap stack:
dconst_0
dreturn
end local 4 // int select
end local 2 // double omegan
end local 0 // double x
LocalVariableTable:
Start End Slot Name Signature
0 5 0 x D
0 5 2 omegan D
0 5 4 select I
MethodParameters:
Name Flags
x
omegan
select
public void run0();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 // org.graalvm.compiler.jtt.hotpath.HP_series this
0: .line 110
new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tIgnore cannot be resolved to a type\n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 // org.graalvm.compiler.jtt.hotpath.HP_series this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/jtt/hotpath/HP_series;
Exceptions:
throws java.lang.Throwable
RuntimeInvisibleAnnotations:
Test()
}
SourceFile: "HP_series.java"