Merge
authorbdelsart
Thu, 26 Sep 2013 04:00:09 -0700
changeset 20078 049ccc7e1575
parent 20074 3d118fb7b173 (current diff)
parent 20077 a163104932a6 (diff)
child 20086 e634d72b2f07
Merge
--- a/hotspot/src/share/vm/runtime/vm_version.hpp	Thu Sep 26 08:48:15 2013 +0200
+++ b/hotspot/src/share/vm/runtime/vm_version.hpp	Thu Sep 26 04:00:09 2013 -0700
@@ -78,7 +78,13 @@
   static const char* jre_release_version();
 
   // does HW support an 8-byte compare-exchange operation?
-  static bool supports_cx8()  {return _supports_cx8;}
+  static bool supports_cx8()  {
+#ifdef SUPPORTS_NATIVE_CX8
+    return true;
+#else
+    return _supports_cx8;
+#endif
+  }
   // does HW support atomic get-and-set or atomic get-and-add?  Used
   // to guide intrinsification decisions for Unsafe atomic ops
   static bool supports_atomic_getset4()  {return _supports_atomic_getset4;}