JDK-8369947 : Bytecode rewriting causes Java heap corruption on RISC-V
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 21,25,26
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • CPU: riscv
  • Submitted: 2025-10-15
  • Updated: 2025-10-20
  • Resolved: 2025-10-18
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 25 JDK 26
25.0.2Fixed 26 masterFixed
Related Reports
Relates :  
Description
Same as JDK-8369506, but for RISC-V. It is believed that the same issue is present on RISC-V until proven otherwise.
Comments
A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk25u/pull/323 Date: 2025-10-18 01:35:06 +0000
18-10-2025

[jdk25u-fix-request] Approval Request from Feilong Jiang Clean backport to fix heap corruption caused by bytecode rewriting on RISC-V
18-10-2025

Changeset: 46251993 Branch: master Author: Feilong Jiang <fjiang@openjdk.org> Date: 2025-10-18 01:09:41 +0000 URL: https://git.openjdk.org/jdk/commit/462519935827e25475f2fb35746ad81a14bc5da7
18-10-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/27850 Date: 2025-10-16 15:23:28 +0000
16-10-2025