# HG changeset patch # User rkennke # Date 1530811358 -7200 # Node ID 3009952d59851ffcf9f768a0e20e4b1c35411ad0 # Parent 783cc906a5f85c35f3ab7dd8e5ce34cda9ab821b 8206407: Primitive atomic_cmpxchg_in_heap_at() in BarrierSet::Access needs to call non-oop raw method Reviewed-by: pliden, shade diff -r 783cc906a5f8 -r 3009952d5985 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 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