Lines Matching defs:hr
80 inline void ConcurrentMark::count_region(MemRegion mr, HeapRegion* hr,
89 uint index = hr->hrs_index();
91 assert(!hr->continuesHumongous(), "should not be HC region");
92 assert(hr == g1h->heap_region_containing(start), "sanity");
93 assert(hr == g1h->heap_region_containing(mr.last()), "sanity");
121 HeapRegion* hr,
125 count_region(mr, hr, marked_bytes_array, task_card_bm);
132 HeapRegion* hr = _g1h->heap_region_containing_raw(addr);
133 count_region(mr, hr, worker_id);
138 HeapRegion* hr,
142 count_region(mr, hr, marked_bytes_array, task_card_bm);
148 HeapRegion* hr,
153 count_object(obj, hr, marked_bytes_array, task_card_bm);
159 HeapRegion* hr,
165 count_object(obj, hr, marked_bytes_array, task_card_bm);
176 HeapRegion* hr,
181 count_region(mr, hr, worker_id);
191 HeapRegion* hr,
196 count_object(obj, hr, worker_id);
206 HeapRegion* hr = _g1h->heap_region_containing_raw(addr);
207 return par_mark_and_count(obj, hr, worker_id);
228 inline bool ConcurrentMark::mark_and_count(oop obj, HeapRegion* hr) {
232 count_object(obj, hr, 0 /* worker_id */);
240 HeapRegion* hr = _g1h->heap_region_containing_raw(addr);
241 return mark_and_count(obj, hr);
335 HeapRegion* hr = _g1h->heap_region_containing_raw(obj);
336 if (!hr->obj_allocated_since_next_marking(obj)) {
343 if (_cm->par_mark_and_count(obj, hr, _marked_bytes_array, _card_bm)) {
406 uint worker_id, HeapRegion* hr) {
409 if (hr == NULL) {
410 hr = _g1h->heap_region_containing_raw(addr);
412 assert(hr->is_in(addr), "pre-condition");
414 assert(hr != NULL, "sanity");
417 assert(!hr->continuesHumongous(), "sanity");
424 assert(word_size * HeapWordSize <= hr->capacity(),
426 word_size * HeapWordSize, hr->capacity(),
427 HR_FORMAT_PARAMS(hr)));
429 if (addr < hr->next_top_at_mark_start()) {
431 par_mark_and_count(obj, word_size, hr, worker_id);