< prev index next >

src/hotspot/share/gc/z/zLiveMap.inline.hpp

Print this page

        

@@ -37,11 +37,11 @@
 inline void ZLiveMap::reset() {
   _seqnum = 0;
 }
 
 inline bool ZLiveMap::is_marked() const {
-  return OrderAccess::load_acquire(&_seqnum) == ZGlobalSeqNum;
+  return Atomic::load_acquire(&_seqnum) == ZGlobalSeqNum;
 }
 
 inline uint32_t ZLiveMap::live_objects() const {
   assert(ZGlobalPhase != ZPhaseMark, "Invalid phase");
   return _live_objects;
< prev index next >