Integrated: 8272447: Remove 'native' ranked Mutex

Coleen Phillimore coleenp at openjdk.java.net
Wed Aug 25 13:30:29 UTC 2021


On Fri, 13 Aug 2021 21:13:04 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

> See JBS issue for more details.  The locks that were native ranking should have a real mutex ranking and participate in the deadlock detection mechanism.  The MonitoringSupport_lock is taken out after the Notification_lock, which is aliased to the Service_lock if -XX:-UseNotificationThread.  Service_lock is ranked tty-2 which is the same as access rank, so I made a new service rank for these two locks to share.  As a future change we should verify that rank+-number doesn't overlap with a different rank.
> Tested with tier1-6 in mach5.

This pull request has now been integrated.

Changeset: 2ef68711
Author:    Coleen Phillimore <coleenp at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/2ef6871118109b294e3148c8f15d4335039dd121
Stats:     26 lines in 8 files changed: 1 ins; 7 del; 18 mod

8272447: Remove 'native' ranked Mutex

Reviewed-by: stuefe, pchilanomate

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

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


More information about the hotspot-runtime-dev mailing list