8273917: Remove 'leaf' ranking for Mutex

Reviewed-by: eosterlund, dholmes
This commit is contained in:
Coleen Phillimore 2021-10-06 12:14:33 +00:00
parent c80a612709
commit b8af6a9bfb
11 changed files with 117 additions and 87 deletions

View file

@ -104,7 +104,7 @@ class CompileTask : public CHeapObj<mtCompiler> {
public:
CompileTask() : _failure_reason(NULL), _failure_reason_on_C_heap(false) {
_lock = new Monitor(Mutex::nonleaf+2, "CompileTaskLock", Mutex::_safepoint_check_always);
_lock = new Monitor(Mutex::nonleaf, "CompileTask_lock", Mutex::_safepoint_check_always);
}
void initialize(int compile_id, const methodHandle& method, int osr_bci, int comp_level,