Skip to content

Commit

Permalink
8296670: G1: Remove unused G1GCPhaseTimes::record_preserve_cm_referen…
Browse files Browse the repository at this point in the history
…ts_time_ms

Reviewed-by: tschatzl, iwalulya
  • Loading branch information
albertnetymk committed Nov 14, 2022
1 parent 68301cd commit 3f401b3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions src/hotspot/share/gc/g1/g1GCPhaseTimes.cpp
Expand Up @@ -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;
Expand Down Expand Up @@ -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 +
Expand Down
6 changes: 0 additions & 6 deletions src/hotspot/share/gc/g1/g1GCPhaseTimes.hpp
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
}
Expand Down

1 comment on commit 3f401b3

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.