[jdk11u-dev] RFR: 8369506: Bytecode rewriting causes Java heap corruption on AArch64
Severin Gehwolf
sgehwolf at openjdk.org
Wed Feb 18 10:24:53 UTC 2026
On Thu, 12 Feb 2026 14:26:57 GMT, David Sladký <duke at openjdk.org> wrote:
> Backport of [JDK-8369506](https://bugs.openjdk.org/browse/JDK-8369506) - Bytecode rewriting causes Java heap corruption on AArch64.
>
> Only manual change compared to the backport to JDK17 is in file `src/hotspot/cpu/aarch64/interp_masm_aarch64.cpp` on line 1833. `sizeof(markWord)` had to be changed to `sizeof(markOop)`, because `markWord` type is not present in JDK11. `markOop` should be JDK11 equivalent of `markWord`.
>
> #### Tier 1 - PASSES
>
> #### GTest - PASSES
>
> #### GHA -PASSES
>
> Only macos-x64 / test (hs/tier1 serviceability) fails, which seems to be common occurrence in other PRs too -> unrelated to this PR.
@adinn @rwestrel Could you please help review this? Thank you!
-------------
PR Comment: https://git.openjdk.org/jdk11u-dev/pull/3152#issuecomment-3919951780
More information about the jdk-updates-dev
mailing list