mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
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:
parent
2f2ec624a2
commit
59dcb50e96
8 changed files with 105 additions and 105 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue