Skip to content

Commit 98e6d04

Browse files
committed
8319777: Zero: Support 8-byte cmpxchg
8320582: Zero: Misplaced CX8 enablement flag Reviewed-by: phh Backport-of: 6b96bb640aa91d96877b8ceea5fed359607c1e45
1 parent 4d62dfa commit 98e6d04

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/hotspot/cpu/zero/vm_version_zero.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,12 @@ void VM_Version::initialize() {
137137
#ifdef ASSERT
138138
UNSUPPORTED_OPTION(CountCompiledCalls);
139139
#endif
140+
141+
// Supports 8-byte cmpxchg with compiler built-ins.
142+
// These built-ins are supposed to be implemented on
143+
// all platforms (even if not natively), so we claim
144+
// the support unconditionally.
145+
_supports_cx8 = true;
140146
}
141147

142148
void VM_Version::initialize_cpu_information(void) {

0 commit comments

Comments
 (0)