8273144: Remove unused top level "Sample Collection Set Candidates" logging

Reviewed-by: iwalulya, ayang
This commit is contained in:
Thomas Schatzl 2021-08-31 15:45:56 +00:00
parent 75d987a0dd
commit ba3587e524
3 changed files with 0 additions and 10 deletions

View File

@ -175,7 +175,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_sample_collection_set_candidates_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;
@ -463,7 +462,6 @@ double G1GCPhaseTimes::print_post_evacuate_collection_set() const {
_recorded_preserve_cm_referents_time_ms +
_cur_ref_proc_time_ms +
(_weak_phase_times.total_time_sec() * MILLIUNITS) +
_recorded_sample_collection_set_candidates_time_ms +
_cur_post_evacuate_cleanup_1_time_ms +
_cur_post_evacuate_cleanup_2_time_ms +
_recorded_total_rebuild_freelist_time_ms +
@ -487,7 +485,6 @@ double G1GCPhaseTimes::print_post_evacuate_collection_set() const {
debug_phase(_gc_par_phases[RemoveSelfForwardingPtr], 1);
}
debug_time("Sample Collection Set Candidates", _recorded_sample_collection_set_candidates_time_ms);
trace_phase(_gc_par_phases[RedirtyCards]);
debug_time("Post Evacuate Cleanup 2", _cur_post_evacuate_cleanup_2_time_ms);
if (G1CollectedHeap::heap()->evacuation_failed()) {

View File

@ -186,8 +186,6 @@ class G1GCPhaseTimes : public CHeapObj<mtGC> {
double _recorded_young_cset_choice_time_ms;
double _recorded_non_young_cset_choice_time_ms;
double _recorded_sample_collection_set_candidates_time_ms;
double _recorded_preserve_cm_referents_time_ms;
double _recorded_start_new_cset_time_ms;
@ -344,10 +342,6 @@ class G1GCPhaseTimes : public CHeapObj<mtGC> {
_recorded_non_young_cset_choice_time_ms = time_ms;
}
void record_sample_collection_set_candidates_time_ms(double time_ms) {
_recorded_sample_collection_set_candidates_time_ms = time_ms;
}
void record_preserve_cm_referents_time_ms(double time_ms) {
_recorded_preserve_cm_referents_time_ms = time_ms;
}

View File

@ -140,7 +140,6 @@ public class TestGCLogMessages {
new LogMessageWithLevel("Region Register", Level.DEBUG),
new LogMessageWithLevel("Prepare Heap Roots", Level.DEBUG),
new LogMessageWithLevel("Concatenate Dirty Card Logs", Level.DEBUG),
new LogMessageWithLevel("Sample Collection Set Candidates", Level.DEBUG),
// Free CSet
new LogMessageWithLevel("Free Collection Set", Level.DEBUG),
new LogMessageWithLevel("Serial Free Collection Set", Level.TRACE),