src/hotspot/share/gc/z/zBarrierSet.hpp
changeset 59252 623722a6aeb9
parent 59251 4cbfa5077d68
equal deleted inserted replaced
59251:4cbfa5077d68 59252:623722a6aeb9
    68     template <typename T>
    68     template <typename T>
    69     static oop oop_load_in_heap(T* addr);
    69     static oop oop_load_in_heap(T* addr);
    70     static oop oop_load_in_heap_at(oop base, ptrdiff_t offset);
    70     static oop oop_load_in_heap_at(oop base, ptrdiff_t offset);
    71 
    71 
    72     template <typename T>
    72     template <typename T>
    73     static oop oop_atomic_cmpxchg_in_heap(oop new_value, T* addr, oop compare_value);
    73     static oop oop_atomic_cmpxchg_in_heap(T* addr, oop compare_value, oop new_value);
    74     static oop oop_atomic_cmpxchg_in_heap_at(oop new_value, oop base, ptrdiff_t offset, oop compare_value);
    74     static oop oop_atomic_cmpxchg_in_heap_at(oop base, ptrdiff_t offset, oop compare_value, oop new_value);
    75 
    75 
    76     template <typename T>
    76     template <typename T>
    77     static oop oop_atomic_xchg_in_heap(T* addr, oop new_value);
    77     static oop oop_atomic_xchg_in_heap(T* addr, oop new_value);
    78     static oop oop_atomic_xchg_in_heap_at(oop base, ptrdiff_t offset, oop new_value);
    78     static oop oop_atomic_xchg_in_heap_at(oop base, ptrdiff_t offset, oop new_value);
    79 
    79 
    89     //
    89     //
    90     template <typename T>
    90     template <typename T>
    91     static oop oop_load_not_in_heap(T* addr);
    91     static oop oop_load_not_in_heap(T* addr);
    92 
    92 
    93     template <typename T>
    93     template <typename T>
    94     static oop oop_atomic_cmpxchg_not_in_heap(oop new_value, T* addr, oop compare_value);
    94     static oop oop_atomic_cmpxchg_not_in_heap(T* addr, oop compare_value, oop new_value);
    95 
    95 
    96     template <typename T>
    96     template <typename T>
    97     static oop oop_atomic_xchg_not_in_heap(T* addr, oop new_value);
    97     static oop oop_atomic_xchg_not_in_heap(T* addr, oop new_value);
    98   };
    98   };
    99 };
    99 };