< prev index next >

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

Print this page

        

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