changeset 50940:3009952d5985

8206407: Primitive atomic_cmpxchg_in_heap_at() in BarrierSet::Access needs to call non-oop raw method Reviewed-by: pliden, shade
author rkennke
date Thu, 05 Jul 2018 19:22:38 +0200
parents 783cc906a5f8
children 7cbd4124cfff
files src/hotspot/share/gc/shared/barrierSet.hpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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>