hotspot/src/share/vm/runtime/mutexLocker.hpp
changeset 27874 e9b44eb1613f
parent 27645 8fe155d119af
child 28831 454224c7e3ba
--- a/hotspot/src/share/vm/runtime/mutexLocker.hpp	Tue Nov 25 14:16:32 2014 +0300
+++ b/hotspot/src/share/vm/runtime/mutexLocker.hpp	Tue Nov 25 21:00:21 2014 -0500
@@ -136,6 +136,10 @@
 extern Mutex*   JfrThreadGroups_lock;            // protects JFR access to Thread Groups
 #endif
 
+#ifndef SUPPORTS_NATIVE_CX8
+extern Mutex*   UnsafeJlong_lock;                // provides Unsafe atomic updates to jlongs on platforms that don't support cx8
+#endif
+
 // A MutexLocker provides mutual exclusion with respect to a given mutex
 // for the scope which contains the locker.  The lock is an OS lock, not
 // an object lock, and the two do not interoperate.  Do not use Mutex-based