JDK-8369946 : Bytecode rewriting causes Java heap corruption on PPC
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 8,11,17,21,25,26
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • CPU: ppc
  • Submitted: 2025-10-15
  • Updated: 2025-10-27
  • Resolved: 2025-10-22
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 21 JDK 25 JDK 26
21.0.10Fixed 25.0.2Fixed 26 b21Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
 Same as JDK-8369506, but for PPC. It is believed that the same issue is present on PPC until proven otherwise.
Comments
A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk17u-dev/pull/4114 Date: 2025-10-27 11:57:51 +0000
27-10-2025

[jdk21u-fix-request] Approval Request from Martin JDK21u is affected by this problem. This backport doesn't apply cleanly, but works the same way as in newer releases. It only touches PPC64 files (adds missing memory barriers and comments) and has been reviewed.
25-10-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk21u-dev/pull/2384 Date: 2025-10-23 13:01:38 +0000
23-10-2025

[jdk25u-fix-request] Approval Request from Martin JDK25u is affected by this problem. The aarch64 fix JDK-8369506 has already been backported. Besides minor refactoring, the PR mainly inserts missing memory barriers. It applies cleanly and only touches PPC64 files.
22-10-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk25u/pull/331 Date: 2025-10-22 08:44:07 +0000
22-10-2025

Changeset: 6bf3581b Branch: master Author: Martin Doerr <mdoerr@openjdk.org> Date: 2025-10-22 08:35:05 +0000 URL: https://git.openjdk.org/jdk/commit/6bf3581bbacc2ed8f6411d23a5ab332376c53c87
22-10-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/27867 Date: 2025-10-17 12:13:52 +0000
17-10-2025

Thanks for finding this issue and for filing platform specific issues! I'll take a look.
16-10-2025