8272480: Remove Mutex::access rank

Reviewed-by: dholmes, eosterlund
This commit is contained in:
Coleen Phillimore 2021-08-27 13:51:39 +00:00
parent 596b075591
commit b92214a8d0
5 changed files with 30 additions and 34 deletions

View file

@ -164,7 +164,7 @@ StackWatermark::StackWatermark(JavaThread* jt, StackWatermarkKind kind, uint32_t
_next(NULL),
_jt(jt),
_iterator(NULL),
_lock(Mutex::tty - 1, "stack_watermark_lock", true, Mutex::_safepoint_check_never),
_lock(Mutex::stackwatermark, "StackWatermark_lock", true, Mutex::_safepoint_check_never),
_kind(kind),
_linked_watermark(NULL) {
}