--- old/src/share/vm/gc/g1/g1GCPhaseTimes.hpp 2016-07-15 15:55:06.494100097 +0200 +++ new/src/share/vm/gc/g1/g1GCPhaseTimes.hpp 2016-07-15 15:55:06.407097501 +0200 @@ -67,6 +67,8 @@ StringDedupTableFixup, RedirtyCards, PreserveCMReferents, + YoungFreeCSet, + NonYoungFreeCSet, GCParPhasesSentinel }; @@ -110,8 +112,9 @@ double _recorded_merge_pss_time_ms; - double _recorded_young_free_cset_time_ms; - double _recorded_non_young_free_cset_time_ms; + double _recorded_total_free_cset_time_ms; + + double _recorded_serial_free_cset_time_ms; double _cur_fast_reclaim_humongous_time_ms; double _cur_fast_reclaim_humongous_register_time_ms; @@ -199,12 +202,12 @@ _root_region_scan_wait_time_ms = time_ms; } - void record_young_free_cset_time_ms(double time_ms) { - _recorded_young_free_cset_time_ms = time_ms; + void record_total_free_cset_time_ms(double time_ms) { + _recorded_total_free_cset_time_ms = time_ms; } - void record_non_young_free_cset_time_ms(double time_ms) { - _recorded_non_young_free_cset_time_ms = time_ms; + void record_serial_free_cset_time_ms(double time_ms) { + _recorded_serial_free_cset_time_ms = time_ms; } void record_fast_reclaim_humongous_stats(double time_ms, size_t total, size_t candidates) { @@ -278,18 +281,14 @@ return _recorded_young_cset_choice_time_ms; } - double young_free_cset_time_ms() { - return _recorded_young_free_cset_time_ms; + double total_free_cset_time_ms() { + return _recorded_total_free_cset_time_ms; } double non_young_cset_choice_time_ms() { return _recorded_non_young_cset_choice_time_ms; } - double non_young_free_cset_time_ms() { - return _recorded_non_young_free_cset_time_ms; - } - double fast_reclaim_humongous_time_ms() { return _cur_fast_reclaim_humongous_time_ms; }