src/hotspot/share/gc/g1/heapRegionRemSet.hpp
changeset 59247 56bf71d64d51
parent 58552 906a9dd5d8e8
child 59252 623722a6aeb9
equal deleted inserted replaced
59246:fcad92f425c5 59247:56bf71d64d51
   188 
   188 
   189 public:
   189 public:
   190   // We need access in order to union things into the base table.
   190   // We need access in order to union things into the base table.
   191   BitMap* bm() { return &_bm; }
   191   BitMap* bm() { return &_bm; }
   192 
   192 
   193   HeapRegion* hr() const { return OrderAccess::load_acquire(&_hr); }
   193   HeapRegion* hr() const { return Atomic::load_acquire(&_hr); }
   194 
   194 
   195   jint occupied() const {
   195   jint occupied() const {
   196     // Overkill, but if we ever need it...
   196     // Overkill, but if we ever need it...
   197     // guarantee(_occupied == _bm.count_one_bits(), "Check");
   197     // guarantee(_occupied == _bm.count_one_bits(), "Check");
   198     return _occupied;
   198     return _occupied;