Lines Matching refs:hr

65   PerRegionTable(HeapRegion* hr) :
66 _hr(hr),
97 HeapRegion* loc_hr = hr();
118 HeapRegion* hr() const { return _hr; }
126 void init(HeapRegion* hr, bool clear_links_to_all_list) {
131 _hr = hr;
146 HeapWord* hr_bot = hr()->bottom();
171 // Requires "from" to be in "hr()".
173 assert(hr()->is_in_reserved(from), "Precondition.");
174 size_t card_ind = pointer_delta(from, hr()->bottom(),
198 static PerRegionTable* alloc(HeapRegion* hr) {
206 fl->init(hr, true);
213 return new PerRegionTable(hr);
259 OtherRegionsTable::OtherRegionsTable(HeapRegion* hr) :
262 _hr(hr),
269 _sparse_table(hr)
396 size_t cur_hrs_ind = (size_t) hr()->hrs_index();
410 hr()->bottom(), from_card,
455 HeapRegionRemSet::record(hr(), from);
461 hr()->bottom(), from);
507 assert(prt != NULL && prt->hr() == from_hr, "consequence");
509 // Note that we can't assert "prt->hr() == from_hr", because of the
517 HeapRegionRemSet::record(hr(), from);
523 hr()->bottom(), from);
530 OtherRegionsTable::find_region_table(size_t ind, HeapRegion* hr) const {
533 while (prt != NULL && prt->hr() != hr) {
585 size_t max_hrs_index = (size_t) max->hr()->hrs_index();
592 hr()->bottom(),
593 max->hr()->bottom(),
611 gclog_or_tty->print_cr("Scrubbing region %u:", hr()->hrs_index());
634 cur->hr()->hrs_index());
636 if (!region_bm->at((size_t) cur->hr()->hrs_index())) {
730 size_t hrs_idx = hr()->hrs_index();
766 size_t hr_ind = (size_t) hr()->hrs_index();
772 if (hr()->is_in_reserved(card_addr)) {
781 HeapRegion* hr) {
785 while (prt != NULL && prt->hr() != hr) {
790 assert(prt->hr() == hr, "Loop postcondition.");
808 HeapRegion* hr = _g1h->heap_region_containing_raw(from);
809 if (hr == NULL) return false;
810 RegionIdx_t hr_ind = (RegionIdx_t) hr->hrs_index();
815 hr);
823 uintptr_t(hr->bottom()) >> CardTableModRefBS::card_shift;
847 HeapRegion* hr)
848 : _bosa(bosa), _other_regions(hr) {
1014 _fine_cur_prt->hr()->bottom();
1071 void HeapRegionRemSet::record(HeapRegion* hr, OopOrNarrowOopStar f) {
1088 _recorded_regions[_n_recorded] = hr;