< prev index next >

src/share/vm/runtime/atomic.inline.hpp

Print this page
rev 7584 : reusability maximum

*** 64,73 **** --- 64,74 ---- // BSD #ifdef TARGET_OS_ARCH_bsd_x86 # include "atomic_bsd_x86.inline.hpp" #endif + #ifdef TARGET_OS_ARCH_bsd_zero # include "atomic_bsd_zero.inline.hpp" #endif // size_t casts...
*** 85,98 **** inline void Atomic::dec(volatile size_t* dest) { dec_ptr((volatile intptr_t*) dest); } ! #ifndef VM_HAS_SPECIALIZED_CMPXCHG_BYTE ! // See comment in atomic.cpp how to override. ! inline jbyte Atomic::cmpxchg(jbyte exchange_value, volatile jbyte *dest, jbyte comparand) ! { ! return cmpxchg_general(exchange_value, dest, comparand); } - #endif // VM_HAS_SPECIALIZED_CMPXCHG_BYTE #endif // SHARE_VM_RUNTIME_ATOMIC_INLINE_HPP --- 86,95 ---- inline void Atomic::dec(volatile size_t* dest) { dec_ptr((volatile intptr_t*) dest); } ! inline jbyte Atomic::cmpxchg(jbyte exchange_value, volatile jbyte* dest, jbyte compare_value) { ! return AtomicSuper::cmpxchg(exchange_value, dest, compare_value); } #endif // SHARE_VM_RUNTIME_ATOMIC_INLINE_HPP
< prev index next >