--- old/src/hotspot/os/windows/os_windows.hpp 2019-12-01 18:04:45.401681419 -0500 +++ new/src/hotspot/os/windows/os_windows.hpp 2019-12-01 18:04:45.149667916 -0500 @@ -190,9 +190,7 @@ // Platform specific implementations that underpin VM Mutex/Monitor classes class PlatformMutex : public CHeapObj { - // Disable copying - PlatformMutex(const PlatformMutex&); - PlatformMutex& operator=(const PlatformMutex&); + NONCOPYABLE(PlatformMutex); protected: CRITICAL_SECTION _mutex; // Native mutex for locking @@ -208,9 +206,7 @@ class PlatformMonitor : public PlatformMutex { private: CONDITION_VARIABLE _cond; // Native condition variable for blocking - // Disable copying - PlatformMonitor(const PlatformMonitor&); - PlatformMonitor& operator=(const PlatformMonitor&); + NONCOPYABLE(PlatformMonitor); public: PlatformMonitor();