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-11-01
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.
Same as JDK-8369506, but for RISC-V. It is believed that the same issue is present on RISC-V until proven otherwise.
Comments
[jdk21u-fix-request] Approval Request from Feilong Jiang
Similar fix to resolve bytecode rewriting causing Java heap corruption on RISC-V. Tier1 and Tier2 tests with fastdebug build, and no failures were observed.
31-10-2025
A pull request was submitted for review.
Branch: master
URL: https://git.openjdk.org/jdk21u-dev/pull/2417
Date: 2025-10-28 14:19:26 +0000
28-10-2025
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