8287151: Remove unused parameter in G1CollectedHeap::mark_evac_failure_object

Reviewed-by: ayang, lkorinth
This commit is contained in:
Thomas Schatzl 2022-05-24 08:24:03 +00:00
parent cf57d72fe8
commit a276cd2d59
3 changed files with 3 additions and 3 deletions

View File

@ -3317,7 +3317,7 @@ HeapRegion* G1CollectedHeap::alloc_highest_free_region() {
return NULL;
}
void G1CollectedHeap::mark_evac_failure_object(const oop obj, uint worker_id) const {
void G1CollectedHeap::mark_evac_failure_object(const oop obj) const {
// All objects failing evacuation are live. What we'll do is
// that we'll update the prev marking info so that they are
// all under PTAMS and explicitly marked.

View File

@ -1252,7 +1252,7 @@ public:
inline bool is_obj_dead_full(const oop obj) const;
// Mark the live object that failed evacuation in the prev bitmap.
void mark_evac_failure_object(const oop obj, uint worker_id) const;
void mark_evac_failure_object(oop obj) const;
G1ConcurrentMark* concurrent_mark() const { return _cm; }

View File

@ -626,7 +626,7 @@ oop G1ParScanThreadState::handle_evacuation_failure_par(oop old, markWord m, siz
// Objects failing evacuation will turn into old objects since the regions
// are relabeled as such. We mark the failing objects in the prev bitmap and
// later use it to handle all failed objects.
_g1h->mark_evac_failure_object(old, _worker_id);
_g1h->mark_evac_failure_object(old);
if (_evac_failure_regions->record(r->hrm_index())) {
_g1h->hr_printer()->evac_failure(r);