src/hotspot/share/classfile/classLoaderData.cpp
branchstuefe-new-metaspace-branch
changeset 58494 54c1ba464b78
parent 58227 0e7d9a23261e
parent 58375 a1eba2e37671
--- a/src/hotspot/share/classfile/classLoaderData.cpp	Mon Oct 07 15:48:26 2019 +0200
+++ b/src/hotspot/share/classfile/classLoaderData.cpp	Mon Oct 07 16:48:42 2019 +0200
@@ -133,8 +133,8 @@
 
 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