diff -r fcad92f425c5 -r 56bf71d64d51 src/hotspot/share/gc/g1/heapRegionRemSet.hpp --- 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...