< prev index next >

src/os_cpu/solaris_x86/vm/atomic_solaris_x86.hpp

Print this page
rev 13452 : imported patch Atomic_cmpxchg
rev 13453 : imported patch Atomic_add
rev 13454 : [mq]: Atomic_add_v2

*** 90,99 **** --- 90,102 ---- return PrimitiveConversions::cast<D>( _Atomic_add_long(PrimitiveConversions::cast<jlong>(add_value), reinterpret_cast<jlong volatile*>(dest))); } + template<> + struct Atomic::PlatformAdd<2>: Atomic::AddShortUsingInt {}; + inline jint Atomic::xchg (jint exchange_value, volatile jint* dest) { return _Atomic_xchg(exchange_value, dest); } // Not using cmpxchg_using_helper here, because some configurations of
< prev index next >