[jdk21u-dev] RFR: 8369947: Bytecode rewriting causes Java heap corruption on RISC-V

Feilong Jiang fjiang at openjdk.org
Tue Oct 28 14:26:12 UTC 2025


This pull request contains a backport of commit [46251993](https://github.com/openjdk/jdk/commit/462519935827e25475f2fb35746ad81a14bc5da7) from the [openjdk/jdk](https://git.openjdk.org/jdk) repository.

Backport is unclean, same approximate fix with one extra `LoadLoad` barrier in `TemplateTable::fast_xaccess`.

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

Commit messages:
 - Backport 462519935827e25475f2fb35746ad81a14bc5da7

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

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


More information about the jdk-updates-dev mailing list