--- old/src/hotspot/os_cpu/linux_x86/atomic_linux_x86.hpp 2017-12-06 12:38:29.563494241 -0500 +++ new/src/hotspot/os_cpu/linux_x86/atomic_linux_x86.hpp 2017-12-06 12:38:29.151962275 -0500 @@ -133,8 +133,8 @@ extern "C" { // defined in linux_x86.s - jlong _Atomic_cmpxchg_long(jlong, volatile jlong*, jlong); - void _Atomic_move_long(const volatile jlong* src, volatile jlong* dst); + int64_t _Atomic_cmpxchg_long(int64_t, volatile int64_t*, int64_t); + void _Atomic_move_long(const volatile int64_t* src, volatile int64_t* dst); } template<> @@ -144,15 +144,15 @@ T compare_value, cmpxchg_memory_order order) const { STATIC_ASSERT(8 == sizeof(T)); - return cmpxchg_using_helper(_Atomic_cmpxchg_long, exchange_value, dest, compare_value); + return cmpxchg_using_helper(_Atomic_cmpxchg_long, exchange_value, dest, compare_value); } template<> template inline T Atomic::PlatformLoad<8>::operator()(T const volatile* src) const { STATIC_ASSERT(8 == sizeof(T)); - volatile jlong dest; - _Atomic_move_long(reinterpret_cast(src), reinterpret_cast(&dest)); + volatile int64_t dest; + _Atomic_move_long(reinterpret_cast(src), reinterpret_cast(&dest)); return PrimitiveConversions::cast(dest); } @@ -161,7 +161,7 @@ inline void Atomic::PlatformStore<8>::operator()(T store_value, T volatile* dest) const { STATIC_ASSERT(8 == sizeof(T)); - _Atomic_move_long(reinterpret_cast(&store_value), reinterpret_cast(dest)); + _Atomic_move_long(reinterpret_cast(&store_value), reinterpret_cast(dest)); } #endif // AMD64