< prev index next >
src/hotspot/share/oops/accessBackend.inline.hpp
Print this page
@@ -172,11 +172,11 @@
template <DecoratorSet decorators>
template <DecoratorSet ds, typename T>
inline typename EnableIf<
HasDecorator<ds, MO_RELAXED>::value>::type
RawAccessBarrier<decorators>::store_internal(void* addr, T value) {
- Atomic::store(value, reinterpret_cast<volatile T*>(addr));
+ Atomic::store(reinterpret_cast<volatile T*>(addr), value);
}
template <DecoratorSet decorators>
template <DecoratorSet ds, typename T>
inline typename EnableIf<
< prev index next >