8319777: Zero: Support 8-byte cmpxchg

Reviewed-by: dholmes, stuefe
This commit is contained in:
Aleksey Shipilev 2023-11-20 19:05:57 +00:00
parent 020c9007f8
commit 6b96bb640a

@ -145,6 +145,12 @@ void VM_Version::initialize_cpu_information(void) {
return;
}
// Supports 8-byte cmpxchg with compiler built-ins.
// These built-ins are supposed to be implemented on
// all platforms (even if not natively), so we claim
// the support unconditionally.
_supports_cx8 = true;
_no_of_cores = os::processor_count();
_no_of_threads = _no_of_cores;
_no_of_sockets = _no_of_cores;