Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8262444 | openjdk8u302 | Ge Guo | P4 | Resolved | Fixed | b01 |
I accidentally set an unexpected AllocatePrefetchDistance value, and it caused a crash.
$ java -XX:AllocatePrefetchDistance=196 -jar SPECjvm2008.jar -coe -ikv -wt 5s -it 10s scimark.sparse.large
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (assembler_aarch64.hpp:251), pid=1841, tid=1902
# guarantee(chk == -1 || chk == 0) failed: Field too big for insn
#
# JRE version: OpenJDK Runtime Environment (10.0) (build 10-internal+0-adhoc.njian.gerrit)
# Java VM: OpenJDK 64-Bit Server VM (10-internal+0-adhoc.njian.gerrit, mixed mode, tiered, compressed oops, g1 gc, linux-aarch64)
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %d %P" (or dumping to /home/njian/Work/jdk/test/benchmarks/specjvm2008/core.1841)
#
# An error report file with more information is saved as:
# /home/njian/Work/jdk/test/benchmarks/specjvm2008/hs_err_pid1841.log
#
# Compiler replay data is saved as:
# /home/njian/Work/jdk/test/benchmarks/specjvm2008/replay_pid1841.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
#
Aborted (core dumped)
This is caused by unexpected imm fed to prfm.
Maybe we should avoid this kind of input values.
$ java -XX:AllocatePrefetchDistance=196 -jar SPECjvm2008.jar -coe -ikv -wt 5s -it 10s scimark.sparse.large
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (assembler_aarch64.hpp:251), pid=1841, tid=1902
# guarantee(chk == -1 || chk == 0) failed: Field too big for insn
#
# JRE version: OpenJDK Runtime Environment (10.0) (build 10-internal+0-adhoc.njian.gerrit)
# Java VM: OpenJDK 64-Bit Server VM (10-internal+0-adhoc.njian.gerrit, mixed mode, tiered, compressed oops, g1 gc, linux-aarch64)
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %d %P" (or dumping to /home/njian/Work/jdk/test/benchmarks/specjvm2008/core.1841)
#
# An error report file with more information is saved as:
# /home/njian/Work/jdk/test/benchmarks/specjvm2008/hs_err_pid1841.log
#
# Compiler replay data is saved as:
# /home/njian/Work/jdk/test/benchmarks/specjvm2008/replay_pid1841.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
#
Aborted (core dumped)
This is caused by unexpected imm fed to prfm.
Maybe we should avoid this kind of input values.
- backported by
-
JDK-8262444 AArch64: incorrect prefetch distance causes an internal error
-
- Resolved
-