8290533: Remove G1ConcurrentMark::mark_in_bitmap(uint, HeapRegion*,oop)

Reviewed-by: sangheki, kbarrett
This commit is contained in:
Thomas Schatzl 2022-07-20 16:16:57 +00:00
parent 89458e36af
commit eeb345a286
2 changed files with 0 additions and 7 deletions

View File

@ -596,7 +596,6 @@ public:
void print_on_error(outputStream* st) const;
// Mark the given object on the marking bitmap if it is below TAMS.
inline bool mark_in_bitmap(uint worker_id, HeapRegion* const hr, oop const obj);
inline bool mark_in_bitmap(uint worker_id, oop const obj);
inline bool is_marked_in_bitmap(oop p) const;

View File

@ -77,12 +77,6 @@ inline bool G1CMSubjectToDiscoveryClosure::do_object_b(oop obj) {
inline bool G1ConcurrentMark::mark_in_bitmap(uint const worker_id, oop const obj) {
HeapRegion* const hr = _g1h->heap_region_containing(obj);
return mark_in_bitmap(worker_id, hr, obj);
}
inline bool G1ConcurrentMark::mark_in_bitmap(uint const worker_id, HeapRegion* const hr, oop const obj) {
assert(hr != NULL, "just checking");
assert(hr->is_in_reserved(obj), "Attempting to mark object at " PTR_FORMAT " that is not contained in the given region %u", p2i(obj), hr->hrm_index());
if (hr->obj_allocated_since_marking_start(obj)) {
return false;