8368752: Serial: Remove unused arg of DefNewGeneration::gc_epilogue

Reviewed-by: tschatzl, fandreuzzi
This commit is contained in:
Albert Mingkun Yang 2025-09-26 14:48:26 +00:00
parent 501b2b3ebc
commit 25abdd85c4
3 changed files with 3 additions and 3 deletions

View File

@ -807,7 +807,7 @@ void DefNewGeneration::reset_scratch() {
}
}
void DefNewGeneration::gc_epilogue(bool full) {
void DefNewGeneration::gc_epilogue() {
assert(!GCLocker::is_active(), "We should not be executing here");
// update the generation and space performance counters
update_counters();

View File

@ -187,7 +187,7 @@ class DefNewGeneration: public Generation {
HeapWord* allocate(size_t word_size);
HeapWord* par_allocate(size_t word_size);
void gc_epilogue(bool full);
void gc_epilogue();
// For Old collection (part of running Full GC), the DefNewGeneration can
// contribute the free part of "to-space" as the scratch space.

View File

@ -779,7 +779,7 @@ void SerialHeap::gc_epilogue(bool full) {
resize_all_tlabs();
_young_gen->gc_epilogue(full);
_young_gen->gc_epilogue();
_old_gen->gc_epilogue();
if (_is_heap_almost_full) {