76 // Internal version providing additional build information |
76 // Internal version providing additional build information |
77 static const char* internal_vm_info_string(); |
77 static const char* internal_vm_info_string(); |
78 static const char* jre_release_version(); |
78 static const char* jre_release_version(); |
79 |
79 |
80 // does HW support an 8-byte compare-exchange operation? |
80 // does HW support an 8-byte compare-exchange operation? |
81 static bool supports_cx8() {return _supports_cx8;} |
81 static bool supports_cx8() { |
|
82 #ifdef SUPPORTS_NATIVE_CX8 |
|
83 return true; |
|
84 #else |
|
85 return _supports_cx8; |
|
86 #endif |
|
87 } |
82 // does HW support atomic get-and-set or atomic get-and-add? Used |
88 // does HW support atomic get-and-set or atomic get-and-add? Used |
83 // to guide intrinsification decisions for Unsafe atomic ops |
89 // to guide intrinsification decisions for Unsafe atomic ops |
84 static bool supports_atomic_getset4() {return _supports_atomic_getset4;} |
90 static bool supports_atomic_getset4() {return _supports_atomic_getset4;} |
85 static bool supports_atomic_getset8() {return _supports_atomic_getset8;} |
91 static bool supports_atomic_getset8() {return _supports_atomic_getset8;} |
86 static bool supports_atomic_getadd4() {return _supports_atomic_getadd4;} |
92 static bool supports_atomic_getadd4() {return _supports_atomic_getadd4;} |