< prev index next >
src/hotspot/share/gc/g1/heapRegionRemSet.hpp
Print this page
@@ -188,11 +188,11 @@
public:
// 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...
// guarantee(_occupied == _bm.count_one_bits(), "Check");
return _occupied;
< prev index next >