JDK-8171537 : aarch64: compiler/c1/Test6849574.java generates guarantee failure in C1
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux
  • CPU: aarch64
  • Submitted: 2016-12-20
  • Updated: 2021-02-01
  • Resolved: 2016-12-21
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9 Other
9 b151Fixed openjdk8u292Fixed
Related Reports
Relates :  
Description
Running compiler/c1/Test6849574.java with -vmoption:-XX:TieredStopAtLevel=1 to force use of C1 generates the following guarantee failure

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (assembler_aarch64.hpp:232), pid=8576, tid=8601
#  guarantee(val < (1U << nbits)) failed: Field too big for insn
#
# JRE version: OpenJDK Runtime Environment (9.0) (build 9-internal+0-adhoc.ed.dev)
# Java VM: OpenJDK 64-Bit Server VM (9-internal+0-adhoc.ed.dev, mixed mode, tiered, compressed oops, g1 gc, linux-aarch64)
# Core dump will be written. Default location: Core dumps may be processed with "/usr/libexec/abrt-hook-ccpp %s %c %p %u %g %t e" (or dumping to /home/ed/jdk9/jtreg/JTwork/scratch/core.8576)
#
# An error report file with more information is saved as:
# /home/ed/jdk9/jtreg/JTwork/scratch/hs_err_pid8576.log
#
# Compiler replay data is saved as:
# /home/ed/jdk9/jtreg/JTwork/scratch/replay_pid8576.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#

The command used to generate this was

/home/ed/images/jdk9-aarch64-test/bin/java -jar lib/jtreg.jar -vmoption:-XX:TieredStopAtLevel=1 -nr -othervm -jdk:/home/ed/images/jdk9-aarch64-test /home/ed/jdk9/dev/hotspot/test/compiler/c1/Test6849574.java