mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +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
|
@ -129,8 +129,8 @@ void ClassLoaderData::initialize_name(Handle class_loader) {
|
|||
|
||||
ClassLoaderData::ClassLoaderData(Handle h_class_loader, bool is_unsafe_anonymous) :
|
||||
_metaspace(NULL),
|
||||
_metaspace_lock(new Mutex(Monitor::leaf+1, "Metaspace allocation lock", true,
|
||||
Monitor::_safepoint_check_never)),
|
||||
_metaspace_lock(new Mutex(Mutex::leaf+1, "Metaspace allocation lock", true,
|
||||
Mutex::_safepoint_check_never)),
|
||||
_unloading(false), _is_unsafe_anonymous(is_unsafe_anonymous),
|
||||
_modified_oops(true), _accumulated_modified_oops(false),
|
||||
// An unsafe anonymous class loader data doesn't have anything to keep
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue