Skip to content

Commit ac74e6f

Browse files
committed
8382055: G1: Remove unused unused args in mark_evac_failure_object
Reviewed-by: tschatzl
1 parent a76e38c commit ac74e6f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/hotspot/share/gc/g1/g1CollectedHeap.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3219,7 +3219,7 @@ void G1CollectedHeap::retire_gc_alloc_region(G1HeapRegion* alloc_region,
32193219
G1HeapRegionPrinter::retire(alloc_region);
32203220
}
32213221

3222-
void G1CollectedHeap::mark_evac_failure_object(uint worker_id, const oop obj, size_t obj_size) const {
3222+
void G1CollectedHeap::mark_evac_failure_object(const oop obj) const {
32233223
assert(!_cm->is_marked_in_bitmap(obj), "must be");
32243224

32253225
_cm->raw_mark_in_bitmap(obj);

src/hotspot/share/gc/g1/g1CollectedHeap.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1275,7 +1275,7 @@ class G1CollectedHeap : public CollectedHeap {
12751275
inline bool is_obj_dead_full(const oop obj) const;
12761276

12771277
// Mark the live object that failed evacuation in the bitmap.
1278-
void mark_evac_failure_object(uint worker_id, oop obj, size_t obj_size) const;
1278+
void mark_evac_failure_object(oop obj) const;
12791279

12801280
G1ConcurrentMark* concurrent_mark() const { return _cm; }
12811281

src/hotspot/share/gc/g1/g1ParScanThreadState.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,7 @@ oop G1ParScanThreadState::handle_evacuation_failure_par(oop old, markWord m, Kla
650650

651651
// Mark the failing object in the marking bitmap and later use the bitmap to handle
652652
// evacuation failure recovery.
653-
_g1h->mark_evac_failure_object(_worker_id, old, word_sz);
653+
_g1h->mark_evac_failure_object(old);
654654

655655
_evacuation_failed_info.register_copy_failure(word_sz);
656656

0 commit comments

Comments
 (0)