8274004: Change 'nonleaf' rank name

8273956: Add checking for rank values

Reviewed-by: dholmes, pchilanomate
This commit is contained in:
Coleen Phillimore 2021-10-08 12:23:19 +00:00
parent b60837a7d5
commit 6364719cd1
41 changed files with 335 additions and 347 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, "CompileTask_lock", Mutex::_safepoint_check_always);
_lock = new Monitor(Mutex::safepoint, "CompileTask_lock");
}
void initialize(int compile_id, const methodHandle& method, int osr_bci, int comp_level,