equal
deleted
inserted
replaced
197 return Raw::atomic_cmpxchg(new_value, addr, compare_value); |
197 return Raw::atomic_cmpxchg(new_value, addr, compare_value); |
198 } |
198 } |
199 |
199 |
200 template <typename T> |
200 template <typename T> |
201 static T atomic_cmpxchg_in_heap_at(T new_value, oop base, ptrdiff_t offset, T compare_value) { |
201 static T atomic_cmpxchg_in_heap_at(T new_value, oop base, ptrdiff_t offset, T compare_value) { |
202 return Raw::oop_atomic_cmpxchg_at(new_value, base, offset, compare_value); |
202 return Raw::atomic_cmpxchg_at(new_value, base, offset, compare_value); |
203 } |
203 } |
204 |
204 |
205 template <typename T> |
205 template <typename T> |
206 static T atomic_xchg_in_heap(T new_value, T* addr) { |
206 static T atomic_xchg_in_heap(T new_value, T* addr) { |
207 return Raw::atomic_xchg(new_value, addr); |
207 return Raw::atomic_xchg(new_value, addr); |