1.1 --- a/src/share/vm/runtime/vm_version.hpp Fri Sep 13 21:36:27 2013 -0400 1.2 +++ b/src/share/vm/runtime/vm_version.hpp Fri Sep 20 15:06:23 2013 -0400 1.3 @@ -78,7 +78,13 @@ 1.4 static const char* jre_release_version(); 1.5 1.6 // does HW support an 8-byte compare-exchange operation? 1.7 - static bool supports_cx8() {return _supports_cx8;} 1.8 + static bool supports_cx8() { 1.9 +#ifdef SUPPORTS_NATIVE_CX8 1.10 + return true; 1.11 +#else 1.12 + return _supports_cx8; 1.13 +#endif 1.14 + } 1.15 // does HW support atomic get-and-set or atomic get-and-add? Used 1.16 // to guide intrinsification decisions for Unsafe atomic ops 1.17 static bool supports_atomic_getset4() {return _supports_atomic_getset4;}