Integrated: 8256688: Shenandoah: Lock rank inversion after JDK-8212879
Zhengyu Gu
zgu at openjdk.java.net
Fri Nov 20 12:54:05 UTC 2020
On Fri, 20 Nov 2020 01:02:20 GMT, Zhengyu Gu <zgu at openjdk.org> wrote:
> After JDK-8212879, gc_notification() takes JvmtiTagMap_lock/24, while ShenandoahConcurrentWeakRootsEvacUpdateTask holds StringDedupQueue_lock/11, which results lock rank inversion during concurrent weak root processing.
>
> This patch ensures that no lock is held when triggers gc notification.
>
> Test:
> - [x] hotspot_gc_shenandoah
This pull request has now been integrated.
Changeset: 266dea06
Author: Zhengyu Gu <zgu at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/266dea06
Stats: 17 lines in 3 files changed: 15 ins; 0 del; 2 mod
8256688: Shenandoah: Lock rank inversion after JDK-8212879
Reviewed-by: rkennke
-------------
PR: https://git.openjdk.java.net/jdk/pull/1334
More information about the shenandoah-dev
mailing list