equal
deleted
inserted
replaced
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; |