[jdk21u-dev] RFR: 8325469: Freeze/Thaw code can crash in the presence of OSR frames

Aleksey Shipilev shade at openjdk.org
Thu Jun 6 17:15:56 UTC 2024


Unclean backport to fix Loom bug in presence of OSR frames.

The major uncleanliness point comes from [JDK-8329332](https://bugs.openjdk.org/browse/JDK-8329332) that eliminated `CompiledMethod` in JDK 23. But it is only a minor hassle for this PR, as it moves away from `as_compiled_method()` anyway! So I mostly just accepted the incoming chunks untouched.

Additional testing:
 - [x] MacOS AArch64 server fastdebug, new regression test fails without the patch, passes with it
 - [x] MacOS AArch64 server fastdebug, `jdk_loom hotspot_loom`
 - [ ] Linux x86_64 server fastdebug, `all`
 - [ ] Linux AArch64 server fastdebug, `all`

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

Commit messages:
 - Backport fd331ff17330329a656181cb58714f1bd1623fcb

Changes: https://git.openjdk.org/jdk21u-dev/pull/675/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=675&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8325469
  Stats: 270 lines in 16 files changed: 246 ins; 5 del; 19 mod
  Patch: https://git.openjdk.org/jdk21u-dev/pull/675.diff
  Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/675/head:pull/675

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


More information about the jdk-updates-dev mailing list