8296670: G1: Remove unused G1GCPhaseTimes::record_preserve_cm_referents_time_ms

Reviewed-by: tschatzl, iwalulya
This commit is contained in:
Albert Mingkun Yang 2022-11-14 10:07:50 +00:00
parent 68301cdeca
commit 3f401b3091
2 changed files with 0 additions and 8 deletions

@ -185,7 +185,6 @@ void G1GCPhaseTimes::reset() {
_recorded_prepare_heap_roots_time_ms = 0.0;
_recorded_young_cset_choice_time_ms = 0.0;
_recorded_non_young_cset_choice_time_ms = 0.0;
_recorded_preserve_cm_referents_time_ms = 0.0;
_recorded_start_new_cset_time_ms = 0.0;
_recorded_serial_free_cset_time_ms = 0.0;
_recorded_total_rebuild_freelist_time_ms = 0.0;
@ -463,7 +462,6 @@ double G1GCPhaseTimes::print_evacuate_initial_collection_set() const {
double G1GCPhaseTimes::print_post_evacuate_collection_set(bool evacuation_failed) const {
const double sum_ms = _cur_collection_nmethod_list_cleanup_time_ms +
_recorded_preserve_cm_referents_time_ms +
_cur_ref_proc_time_ms +
(_weak_phase_times.total_time_sec() * MILLIUNITS) +
_cur_post_evacuate_cleanup_1_time_ms +

@ -200,8 +200,6 @@ class G1GCPhaseTimes : public CHeapObj<mtGC> {
double _recorded_young_cset_choice_time_ms;
double _recorded_non_young_cset_choice_time_ms;
double _recorded_preserve_cm_referents_time_ms;
double _recorded_start_new_cset_time_ms;
double _recorded_serial_free_cset_time_ms;
@ -356,10 +354,6 @@ class G1GCPhaseTimes : public CHeapObj<mtGC> {
_recorded_non_young_cset_choice_time_ms = time_ms;
}
void record_preserve_cm_referents_time_ms(double time_ms) {
_recorded_preserve_cm_referents_time_ms = time_ms;
}
void record_start_new_cset_time_ms(double time_ms) {
_recorded_start_new_cset_time_ms = time_ms;
}