mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
8273917: Remove 'leaf' ranking for Mutex
Reviewed-by: eosterlund, dholmes
This commit is contained in:
parent
c80a612709
commit
b8af6a9bfb
11 changed files with 117 additions and 87 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue