JDK-8172881 : AArch64: assertion failure: the int pressure is incorrect
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 9
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: linux
  • CPU: aarch64
  • Submitted: 2017-01-17
  • Updated: 2021-02-01
  • Resolved: 2017-01-26
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 10 JDK 9 Other
10Fixed 9 b156Fixed openjdk8u292Fixed
Related Reports
Relates :  
Description
The jtreg tests
hotspot/test/compiler/unsafe/JdkInternalMiscUnsafeAccessTestFloat.java 
hotspot/test/compiler/unsafe/JdkInternalMiscUnsafeAccessTestDouble.java
failed on AArch64 with option "-Xcomp". 

$ jtreg -othervm -a -ea -esa -va -ignore:quiet -timeoutFactor:8 -testjdk:./images/jdk/ -concurrency:auto -server -vmoptions:"-Xcomp" ~/Work/jdk/jdk9/gerrit/hotspot/test/compiler/unsafe/JdkInternalMiscUnsafeAccessTestFloat.java

# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc:  SuppressErrorAt=/ifg.cpp:760
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (/home/ninjia02/jdk/jdk9/gerrit/hotspot/src/share/vm/opto/ifg.cpp:760), pid=12233, tid=12296
#  assert(int_pressure.current_pressure() == count_int_pressure(liveout)) failed: the int pressure is incorrect
#
# JRE version: OpenJDK Runtime Environment (9.0) (fastdebug build 9-internal+0-adhoc.ninjia02.gerrit)
# Java VM: OpenJDK 64-Bit Server VM (fastdebug 9-internal+0-adhoc.ninjia02.gerrit, compiled mode, 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 %P" (or dumping to /home/ninjia02/jdk/jdk9/build-fastdebug/JTwork/scratch/0/core.12233)
#
# An error report file with more information is saved as:
# /home/ninjia02/jdk/jdk9/build-fastdebug/JTwork/scratch/0/hs_err_pid12233.log
#
# Compiler replay data is saved as:
# /home/ninjia02/jdk/jdk9/build-fastdebug/JTwork/scratch/0/replay_pid12233.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#

This may be caused by incorrect reg use of get_and_setI
Comments
Review thread: http://mail.openjdk.java.net/pipermail/aarch64-port-dev/2017-January/004128.html
25-01-2017

Yang Zhang (yang.zhang@linaro.org) is working on this.
20-01-2017

Hi [~njian], please add the hs_err file to the bug. Do you plan to fix the problem? If not, please un-assign from yourself.
17-01-2017

ILW = Assert in compiler, arch64 only, exclude compilation = HMM = P2
17-01-2017