JDK-8331150 : RISC-V: Fix "bad AD file" bug
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 23
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • CPU: riscv
  • Submitted: 2024-04-25
  • Updated: 2024-04-29
  • Resolved: 2024-04-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 23
23 masterFixed
Related Reports
Relates :  
Description
The issue was introduced by JDK-8318650

```
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (/home/hamlin/workspace/repos/github/jdk-sha1/src/hotspot/share/opto/matcher.cpp:1727), pid=1724437, tid=1726882
#  assert(false) failed: bad AD file
#
# JRE version: OpenJDK Runtime Environment (23.0) (fastdebug build 23-internal-adhoc.hamlin.jdk-sha1)
# Java VM: OpenJDK 64-Bit Server VM (fastdebug 23-internal-adhoc.hamlin.jdk-sha1, mixed mode, compressed oops, compressed class ptrs, g1 gc, linux-riscv64)
# Problematic frame:
# V  [libjvm.so+0xeb31e2]  Matcher::Label_Root(Node const*, State*, Node*, Node*&)+0x5d8
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /home/hamlin/workspace/repos/github/jdk-sha1/JTwork/jdk/incubator/vector/Byte128VectorLoadStoreTests/core.1724437)
```
Comments
Changeset: 006f090f Author: Hamlin Li <mli@openjdk.org> Date: 2024-04-26 07:50:51 +0000 URL: https://git.openjdk.org/jdk/commit/006f090f98135e0d3b0450c455d545272cfe6a38
26-04-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/18960 Date: 2024-04-25 17:55:57 +0000
25-04-2024