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

Aleksey Shipilev shade at openjdk.org
Wed Jun 12 08:08:32 UTC 2024


On Thu, 6 Jun 2024 17:11:09 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> 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`

This pull request has now been integrated.

Changeset: 4509c909
Author:    Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.org/jdk21u-dev/commit/4509c909a57cf5b6bdc9708dca5361f328fcd544
Stats:     266 lines in 16 files changed: 246 ins; 5 del; 15 mod

8325469: Freeze/Thaw code can crash in the presence of OSR frames

Reviewed-by: phh
Backport-of: fd331ff17330329a656181cb58714f1bd1623fcb

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

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


More information about the jdk-updates-dev mailing list