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

Justin King jcking at openjdk.org
Fri Oct 17 18:27:25 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`.

Justin King has updated the pull request incrementally with one additional commit since the last revision:

  Replace oopDesc::base_offset_in_bytes with equivalent logic
  
  Signed-off-by: Justin King <jcking at google.com>

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

Changes:
  - all: https://git.openjdk.org/jdk21u-dev/pull/2355/files
  - new: https://git.openjdk.org/jdk21u-dev/pull/2355/files/e548ef2a..f6e2040b

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=2355&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=2355&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 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