8231472: Clean up Monitor::_safepoint_check usage to Mutex::_safepoint_check

Change Monitor:: to Mutex:: when allocating a Mutex, and in mutexLocker.

Reviewed-by: rehn, dholmes
This commit is contained in:
Coleen Phillimore 2019-09-27 07:56:02 -04:00
parent 2f2ec624a2
commit 59dcb50e96
8 changed files with 105 additions and 105 deletions

View file

@ -1212,7 +1212,7 @@ void MethodData::post_initialize(BytecodeStream* stream) {
// Initialize the MethodData* corresponding to a given method.
MethodData::MethodData(const methodHandle& method, int size, TRAPS)
: _extra_data_lock(Monitor::leaf, "MDO extra data lock"),
: _extra_data_lock(Mutex::leaf, "MDO extra data lock"),
_parameters_type_data_di(parameters_uninitialized) {
// Set the method back-pointer.
_method = method();