< prev index next >

src/hotspot/share/gc/z/zNMethodData.cpp

Print this page

        

@@ -76,11 +76,11 @@
 ZReentrantLock* ZNMethodData::lock() {
   return &_lock;
 }
 
 ZNMethodDataOops* ZNMethodData::oops() const {
-  return OrderAccess::load_acquire(&_oops);
+  return Atomic::load_acquire(&_oops);
 }
 
 ZNMethodDataOops* ZNMethodData::swap_oops(ZNMethodDataOops* new_oops) {
   ZLocker<ZReentrantLock> locker(&_lock);
   ZNMethodDataOops* const old_oops = _oops;
< prev index next >