Mercurial > hg > graal-compiler
diff src/share/vm/runtime/vm_version.hpp @ 17474:6fa574bfd32a
Merge
author | chegar |
---|---|
date | Thu, 03 Oct 2013 19:13:12 +0100 |
parents | 586fa1919a89 |
children | de6a9e811145 |
line wrap: on
line diff
--- a/src/share/vm/runtime/vm_version.hpp Sat Sep 14 20:40:34 2013 +0100 +++ b/src/share/vm/runtime/vm_version.hpp Thu Oct 03 19:13:12 2013 +0100 @@ -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;}