src/hotspot/share/gc/g1/heapRegionRemSet.hpp
changeset 59247 56bf71d64d51
parent 58552 906a9dd5d8e8
child 59252 623722a6aeb9
--- a/src/hotspot/share/gc/g1/heapRegionRemSet.hpp	Mon Nov 25 14:06:13 2019 +0100
+++ b/src/hotspot/share/gc/g1/heapRegionRemSet.hpp	Mon Nov 25 12:22:13 2019 +0100
@@ -190,7 +190,7 @@
   // We need access in order to union things into the base table.
   BitMap* bm() { return &_bm; }
 
-  HeapRegion* hr() const { return OrderAccess::load_acquire(&_hr); }
+  HeapRegion* hr() const { return Atomic::load_acquire(&_hr); }
 
   jint occupied() const {
     // Overkill, but if we ever need it...