equal
deleted
inserted
replaced
222 if (FLAG_IS_DEFAULT(UsePopCountInstruction)) { |
222 if (FLAG_IS_DEFAULT(UsePopCountInstruction)) { |
223 FLAG_SET_DEFAULT(UsePopCountInstruction, true); |
223 FLAG_SET_DEFAULT(UsePopCountInstruction, true); |
224 } |
224 } |
225 |
225 |
226 // z/Architecture supports 8-byte compare-exchange operations |
226 // z/Architecture supports 8-byte compare-exchange operations |
227 // (see Atomic::cmpxchg and StubGenerator::generate_atomic_cmpxchg_ptr) |
227 // (see Atomic::cmpxchg) |
228 // and 'atomic long memory ops' (see Unsafe_GetLongVolatile). |
228 // and 'atomic long memory ops' (see Unsafe_GetLongVolatile). |
229 _supports_cx8 = true; |
229 _supports_cx8 = true; |
230 |
230 |
231 _supports_atomic_getadd4 = VM_Version::has_LoadAndALUAtomicV1(); |
231 _supports_atomic_getadd4 = VM_Version::has_LoadAndALUAtomicV1(); |
232 _supports_atomic_getadd8 = VM_Version::has_LoadAndALUAtomicV1(); |
232 _supports_atomic_getadd8 = VM_Version::has_LoadAndALUAtomicV1(); |