comparison src/hotspot/share/gc/shenandoah/shenandoahBarrierSet.inline.hpp @ 56675:ff3eab78554f

8232674: Fix build and rename ShenandoahBarrierSet::oop_load_from_native_barrier Reviewed-by: zgu
author shade
date Mon, 21 Oct 2019 15:11:42 +0200
parents 3f35a9efd7de
children 4cbfa5077d68
comparison
equal deleted inserted replaced
13:b4ad2db7989e 14:169cb98d96e0
67 67
68 template <DecoratorSet decorators, typename BarrierSetT> 68 template <DecoratorSet decorators, typename BarrierSetT>
69 template <typename T> 69 template <typename T>
70 inline oop ShenandoahBarrierSet::AccessBarrier<decorators, BarrierSetT>::oop_load_not_in_heap(T* addr) { 70 inline oop ShenandoahBarrierSet::AccessBarrier<decorators, BarrierSetT>::oop_load_not_in_heap(T* addr) {
71 oop value = Raw::oop_load_not_in_heap(addr); 71 oop value = Raw::oop_load_not_in_heap(addr);
72 value = ShenandoahBarrierSet::barrier_set()->oop_load_from_native_barrier(value, addr); 72 value = ShenandoahBarrierSet::barrier_set()->load_reference_barrier_native(value, addr);
73 keep_alive_if_weak(decorators, value); 73 keep_alive_if_weak(decorators, value);
74 return value; 74 return value;
75 } 75 }
76 76
77 template <DecoratorSet decorators, typename BarrierSetT> 77 template <DecoratorSet decorators, typename BarrierSetT>