Integrated: 8273300: Check Mutex ranking during a safepoint

Coleen Phillimore coleenp at openjdk.java.net
Thu Sep 16 12:06:03 UTC 2021


On Fri, 10 Sep 2021 15:23:49 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

> This change checks lock ranking during a safepoint.  For some reason, safepoint checking was excluded, probably from the days where Safepoint_lock and Threads_lock were used.
> Because of checking during a safepoint, some locks had to get lower ranks.  The CR has the details of which locks these were.  The Service_lock complicates things because it's held during oops_do, which may take out other G1 locks.
> This was built and tested with Shenandoah.  Thanks to @zhengyu123 for the changes in Shenandoah.
> Tests run tier1-8.

This pull request has now been integrated.

Changeset: 5e4d09c2
Author:    Coleen Phillimore <coleenp at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/5e4d09c22921f2980f84f849eb600d2e524d0733
Stats:     39 lines in 12 files changed: 1 ins; 9 del; 29 mod

8273300: Check Mutex ranking during a safepoint

Reviewed-by: eosterlund, dholmes, pchilanomate

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

PR: https://git.openjdk.java.net/jdk/pull/5467


More information about the shenandoah-dev mailing list