src/hotspot/share/gc/shared/barrierSet.hpp
changeset 50940 3009952d5985
parent 50599 ecc2af326b5f
child 52070 e4d72440d60e
equal deleted inserted replaced
50939:783cc906a5f8 50940:3009952d5985
   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);