A generated class (C0.class) triggers the following GraalGraphError by simply invoking jaotc --output C0.so C0.class.
Error: Failed compilation: C0.M0([CLC0;[Ljava/lang/Comparable;[B[Ljava/lang/Double;[FF[Ljava/lang/Short;LC0;)F: \
org.graalvm.compiler.graph.GraalGraphError: \
org.graalvm.compiler.debug.GraalError: \
NormalizeCompareNode connected to \
org.graalvm.compiler.nodes.calc.IntegerBelowNode$BelowOp@77b378be (int[16777215|0xffffff] 20|NormalizeCompare false)
at node: 125||<|
The error may be caused by fcmp. In the generated method M0, a fcmp pushed an int on the stack, which is further used as the operand of the following anewarray.
The text was updated successfully, but these errors were encountered:
Hi Doug, I am sorry for not providing the version info.
The exception is triggered in the head of JDK.
I filed an issue here since the exception (GraalGraphError) seems to belong to the graal project.
$ ./openjdk/jdk/build/linux-x86_64-normal-server-release/jdk/bin/java --version
openjdk 10-internal 2018-03-20
OpenJDK Runtime Environment (build 10-internal+0-adhoc.t.jdk)
OpenJDK 64-Bit Server VM (build 10-internal+0-adhoc.t.jdk, mixed mode)
A generated class (C0.class) triggers the following
GraalGraphError
by simply invokingjaotc --output C0.so C0.class
.The error may be caused by
fcmp
. In the generated methodM0
, afcmp
pushed anint
on the stack, which is further used as the operand of the followinganewarray
.The text was updated successfully, but these errors were encountered: