[jdk17u-dev] Integrated: 8334482: Shenandoah: Deadlock when safepoint is pending during nmethods iteration

Aleksey Shipilev shade at openjdk.org
Fri Aug 2 08:32:38 UTC 2024


On Tue, 30 Jul 2024 13:27:53 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> Fixes Shenandoah deadlock. There are few minor differences that make the backport unclean: 
>  - the absence of [JDK-8273559](https://bugs.openjdk.org/browse/JDK-8273559) that added another argument to GC in JDK 18
>  - the existence of `ShenandoahNMethodPurgeTask` that was removed along with Sweeper with [JDK-8290025](https://bugs.openjdk.org/browse/JDK-8290025) in JDK 20
>  - the existence of `ICStubVerifier` that was removed in JDK 23 with [JDK-8322630](https://bugs.openjdk.org/browse/JDK-8322630)
> 
> Additional testing:
>  - [x] Linux x86_64 server fastdebug, `all` with `-XX:+UseShenandoahGC`
>  - [x] Linux AArch64 server fastdebug, `all` with `-XX:+UseShenandoahGC`

This pull request has now been integrated.

Changeset: 2ec87177
Author:    Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.org/jdk17u-dev/commit/2ec87177d436f8f97dc3358d4ad1355e7c4b6a26
Stats:     79 lines in 4 files changed: 25 ins; 39 del; 15 mod

8334482: Shenandoah: Deadlock when safepoint is pending during nmethods iteration

Reviewed-by: phh
Backport-of: 2aeb12ec03944c777d617d0be48982fd225b16e7

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

PR: https://git.openjdk.org/jdk17u-dev/pull/2751


More information about the jdk-updates-dev mailing list