JDK-8256386 : ARM32 tests fail with "bad AD file" after JDK-8223051
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 16
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • CPU: aarch32
  • Submitted: 2020-11-16
  • Updated: 2021-01-13
  • Resolved: 2020-11-17
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 16
16 b25Fixed
Related Reports
Relates :  
Relates :  
Description
arm32 fails similarly to x86_32, that was fixed with JDK-8255224, and probably for the same reason, missing CMovL rules. There are lots of tier1 test failures with the similar crash message.

$  CONF=linux-arm-server-fastdebug make images run-test TEST=compiler/c2/Test6968348.java

stdout:
o529  Binary  === _ o156 o155  [[o157 ]] 

--N: o529  Binary  === _ o156 o155  [[o157 ]] 

   --N: o156  Bool  === _ o155  [[o529 ]] [gt]
   CMPOP  1  CMPOP
   CMPOP0  1  CMPOP0
   CMPOPU  1  CMPOPU
   CMPOPP  1  CMPOPP
   CMPOPL  1  CMPOPL
   CMPOPL_COMMUTE  1  CMPOPL_COMMUTE
   CMPOPUL  1  CMPOPUL
   CMPOPUL_COMMUTE  1  CMPOPUL_COMMUTE

   --N: o155  CmpUL  === _ o151 o152  [[o156 o529 ]] 
   FLAGSREGUL_LTGE  501  compUL_reg_reg_LTGE
   FLAGSREGUL_EQNE  501  compUL_reg_reg_EQNE
   FLAGSREGUL_LEGT  501  compUL_reg_reg_LEGT

      --N: o151  CMoveL  === _ o527 o528  [[o155 o530 ]]  #long
      IREGL  1  IREGL
      IREGLD  2  IREGLD
      R0R1REGL  2  R0R1REGL
      R2R3REGL  2  R2R3REGL

      --N: o152  ConL  === o0  [[o155 o530 ]]  #long:maxint-9
      IMML  40  IMML
      IREGL  400  loadConL
      IREGLD  401  loadConL
      R0R1REGL  401  loadConL
      R2R3REGL  401  loadConL

# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc:  SuppressErrorAt=/matcher.cpp:1655
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (/home/pi/jdk/src/hotspot/share/opto/matcher.cpp:1655), pid=1588, tid=1609
#  assert(false) failed: bad AD file
#

Comments
ILW = HMM = P2
17-11-2020

Changeset: 3dcde557 Author: Aleksey Shipilev <shade@openjdk.org> Date: 2020-11-17 12:10:52 +0000 URL: https://github.com/openjdk/jdk/commit/3dcde557
17-11-2020