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

Aleksey Shipilev shade at openjdk.org
Tue Jun 11 12:14:47 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`
>  - [x] Linux x86_64 server fastdebug, `all`
>  - [x] Linux AArch64 server fastdebug, `all`

Aleksey Shipilev has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision:

 - Revert the assert change that is not present in original patch; should be no-op
 - Merge branch 'master' into JDK-8325469-loom-freeze-thaw-crash
 - Backport fd331ff17330329a656181cb58714f1bd1623fcb

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

Changes:
  - all: https://git.openjdk.org/jdk21u-dev/pull/675/files
  - new: https://git.openjdk.org/jdk21u-dev/pull/675/files/201658b3..90920025

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

  Stats: 624 lines in 59 files changed: 317 ins; 159 del; 148 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