src/hotspot/os/posix/os_posix.inline.hpp
changeset 57738 807d192fb7dd
parent 54195 4b6a629d0615
--- a/src/hotspot/os/posix/os_posix.inline.hpp	Wed Aug 14 01:40:29 2019 +0000
+++ b/src/hotspot/os/posix/os_posix.inline.hpp	Wed Aug 14 00:18:00 2019 -0400
@@ -47,19 +47,19 @@
 
 #ifndef SOLARIS
 
-// Platform Monitor implementation
+// Platform Mutex/Monitor implementation
 
-inline void os::PlatformMonitor::lock() {
+inline void os::PlatformMutex::lock() {
   int status = pthread_mutex_lock(mutex());
   assert_status(status == 0, status, "mutex_lock");
 }
 
-inline void os::PlatformMonitor::unlock() {
+inline void os::PlatformMutex::unlock() {
   int status = pthread_mutex_unlock(mutex());
   assert_status(status == 0, status, "mutex_unlock");
 }
 
-inline bool os::PlatformMonitor::try_lock() {
+inline bool os::PlatformMutex::try_lock() {
   int status = pthread_mutex_trylock(mutex());
   assert_status(status == 0 || status == EBUSY, status, "mutex_trylock");
   return status == 0;