mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-24 04:54:40 +02:00
Merge
This commit is contained in:
commit
624cd5b34a
1 changed files with 7 additions and 1 deletions
|
@ -78,7 +78,13 @@ class Abstract_VM_Version: AllStatic {
|
||||||
static const char* jre_release_version();
|
static const char* jre_release_version();
|
||||||
|
|
||||||
// does HW support an 8-byte compare-exchange operation?
|
// 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
|
// does HW support atomic get-and-set or atomic get-and-add? Used
|
||||||
// to guide intrinsification decisions for Unsafe atomic ops
|
// to guide intrinsification decisions for Unsafe atomic ops
|
||||||
static bool supports_atomic_getset4() {return _supports_atomic_getset4;}
|
static bool supports_atomic_getset4() {return _supports_atomic_getset4;}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue