[jdk21u-dev] RFR: 8369506: Bytecode rewriting causes Java heap corruption on AArch64

Justin King jcking at openjdk.org
Fri Oct 17 14:58:32 UTC 2025


Unclean backport to JDK 21. The area in question was changed for JDK 25. Same approximate fix except adds a missing `LoadLoad` barrier to `TemplateTable::fast_xaccess`.

-------------

Commit messages:
 - Backport 18fd04770294e27011bd576b5ea5fe43fa03e5e3

Changes: https://git.openjdk.org/jdk21u-dev/pull/2355/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=2355&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8369506
  Stats: 29 lines in 3 files changed: 27 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk21u-dev/pull/2355.diff
  Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/2355/head:pull/2355

PR: https://git.openjdk.org/jdk21u-dev/pull/2355


More information about the jdk-updates-dev mailing list