8290366: Remove unused during_conc_mark parameter in HeapRegion::note_self_forwarding_removal_start

Reviewed-by: ayang
This commit is contained in:
Thomas Schatzl 2022-07-15 13:58:17 +00:00
parent f3abb82989
commit b4e2ce0094
3 changed files with 3 additions and 7 deletions

View File

@ -162,10 +162,8 @@ public:
hr->clear_index_in_opt_cset();
bool during_concurrent_start = _g1h->collector_state()->in_concurrent_start_gc();
bool during_concurrent_mark = _g1h->collector_state()->mark_or_rebuild_in_progress();
hr->note_self_forwarding_removal_start(during_concurrent_start,
during_concurrent_mark);
hr->note_self_forwarding_removal_start(during_concurrent_start);
_phase_times->record_or_add_thread_work_item(G1GCPhaseTimes::RestoreRetainedRegions,
_worker_id,

View File

@ -271,8 +271,7 @@ void HeapRegion::report_region_type_change(G1HeapRegionTraceType::Type to) {
used());
}
void HeapRegion::note_self_forwarding_removal_start(bool during_concurrent_start,
bool during_conc_mark) {
void HeapRegion::note_self_forwarding_removal_start(bool during_concurrent_start) {
// We always scrub the region to make sure the entire region is
// parsable after the self-forwarding point removal, and update _marked_bytes
// at the end.

View File

@ -521,8 +521,7 @@ public:
// Notify the region that we are about to start processing
// self-forwarded objects during evac failure handling.
void note_self_forwarding_removal_start(bool during_concurrent_start,
bool during_conc_mark);
void note_self_forwarding_removal_start(bool during_concurrent_start);
// Notify the region that we have finished processing self-forwarded
// objects during evac failure handling.