RFR: 8272447: Remove 'native' ranked Mutex [v2]

Coleen Phillimore coleenp at openjdk.java.net
Thu Aug 19 14:35:46 UTC 2021


> 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.

Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:

  Fix test.

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/5116/files
  - new: https://git.openjdk.java.net/jdk/pull/5116/files/9c4f24b2..42a0564c

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=5116&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=5116&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/5116.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/5116/head:pull/5116

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


More information about the hotspot-runtime-dev mailing list