< prev index next >

src/os_cpu/bsd_zero/vm/atomic_bsd_zero.hpp

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

*** 205,214 **** --- 205,217 ---- STATIC_CAST(8 == sizeof(D)); return __sync_add_and_fetch(dest, add_value); } + template<> + struct Atomic::PlatformAdd<2>: Atomic::AddShortUsingInt {}; + inline void Atomic::inc(volatile jint* dest) { add(1, dest); } inline void Atomic::inc_ptr(volatile intptr_t* dest) {
< prev index next >