< prev index next >

src/hotspot/share/oops/arrayKlass.inline.hpp

Print this page

        

@@ -27,13 +27,13 @@
 
 #include "runtime/orderAccess.hpp"
 #include "oops/arrayKlass.hpp"
 
 inline Klass* ArrayKlass::higher_dimension_acquire() const {
-  return OrderAccess::load_acquire(&_higher_dimension);
+  return Atomic::load_acquire(&_higher_dimension);
 }
 
 inline void ArrayKlass::release_set_higher_dimension(Klass* k) {
-  OrderAccess::release_store(&_higher_dimension, k);
+  Atomic::release_store(&_higher_dimension, k);
 }
 
 #endif // SHARE_OOPS_ARRAYKLASS_INLINE_HPP
< prev index next >