Integrated: 8334594: Generational ZGC: Deadlock after OopMap rewrites in 8331572

Aleksey Shipilev shade at openjdk.org
Mon Jun 24 08:49:26 UTC 2024


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

> As shown in the bug, there are cases when acquiring the `ServiceLock` for opportunistic notification leads to deadlock. We can untie the deadlock by checking if `ServiceLock` can be acquired on triggering path, and never blocking otherwise.
> 
> Additional testing:
>  - [x] Linux x86_64 service fastdebug, `all`
>  - [x] Linux AArch64 service fastdebug, `all`

This pull request has now been integrated.

Changeset: 05ff3185
Author:    Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/05ff3185edd25b381a97f6879f496e97b62dddc2
Stats:     12 lines in 6 files changed: 3 ins; 0 del; 9 mod

8334594: Generational ZGC: Deadlock after OopMap rewrites in 8331572

Reviewed-by: stefank, eosterlund, coleenp, zgu

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

PR: https://git.openjdk.org/jdk/pull/19800


More information about the shenandoah-dev mailing list