8206407: Primitive atomic_cmpxchg_in_heap_at() in BarrierSet::Access needs to call non-oop raw method
authorrkennke
Thu, 05 Jul 2018 19:22:38 +0200
changeset 50940 3009952d5985
parent 50939 783cc906a5f8
child 50941 7cbd4124cfff
8206407: Primitive atomic_cmpxchg_in_heap_at() in BarrierSet::Access needs to call non-oop raw method Reviewed-by: pliden, shade
src/hotspot/share/gc/shared/barrierSet.hpp
--- a/src/hotspot/share/gc/shared/barrierSet.hpp	Thu Jul 05 09:11:33 2018 -0700
+++ b/src/hotspot/share/gc/shared/barrierSet.hpp	Thu Jul 05 19:22:38 2018 +0200
@@ -199,7 +199,7 @@
 
     template <typename T>
     static T atomic_cmpxchg_in_heap_at(T new_value, oop base, ptrdiff_t offset, T compare_value) {
-      return Raw::oop_atomic_cmpxchg_at(new_value, base, offset, compare_value);
+      return Raw::atomic_cmpxchg_at(new_value, base, offset, compare_value);
     }
 
     template <typename T>