Lines Matching defs:hr
45 bool HeapRegionSetBase::verify_region(HeapRegion* hr,
50 if (hr->isHumongous()) {
54 if (!hr->isHumongous() || !hr->startsHumongous()) {
60 if (hr->is_empty()) {
64 if (!hr->is_empty()) {
71 if (hr->containing_set() != expected_containing_set) {
76 const char* extra_error_message = verify_region_extra(hr);
85 out->print_cr("## Offending Region: "PTR_FORMAT, hr);
86 out->print_cr(" "HR_FORMAT, HR_FORMAT_PARAMS(hr));
88 out->print_cr(" containing set: "PTR_FORMAT, hr->containing_set());
138 void HeapRegionSetBase::verify_next_region(HeapRegion* hr) {
144 guarantee(verify_region(hr, this), hrs_ext_msg(this, "region verification"));
147 _calc_region_num += hr->region_num();
148 _calc_total_capacity_bytes += hr->capacity();
149 _calc_total_used_bytes += hr->used();
270 HeapRegion* hr = iter.get_next();
274 hr->set_containing_set(NULL);
275 hr->set_containing_set(this);
309 HeapRegion* hr = iter.get_next();
313 hr->set_containing_set(NULL);
314 hr->set_containing_set(this);
466 HeapRegion* hr = iter.get_next();
467 hr->print_on(out);