--- old/src/hotspot/share/gc/g1/g1GCPhaseTimes.hpp 2020-02-12 17:18:33.128501368 +0800 +++ new/src/hotspot/share/gc/g1/g1GCPhaseTimes.hpp 2020-02-12 17:18:33.130501440 +0800 @@ -146,7 +146,7 @@ double _cur_derived_pointer_table_update_time_ms; double _cur_clear_ct_time_ms; - double _cur_expand_heap_time_ms; + double _cur_resize_heap_time_ms; double _cur_ref_proc_time_ms; double _cur_collection_start_sec; @@ -260,8 +260,8 @@ _cur_clear_ct_time_ms = ms; } - void record_expand_heap_time(double ms) { - _cur_expand_heap_time_ms = ms; + void record_resize_heap_time(double ms) { + _cur_resize_heap_time_ms = ms; } void record_initial_evac_time(double ms) { @@ -399,8 +399,8 @@ return _cur_clear_ct_time_ms; } - double cur_expand_heap_time_ms() { - return _cur_expand_heap_time_ms; + double cur_resize_heap_time_ms() { + return _cur_resize_heap_time_ms; } double root_region_scan_wait_time_ms() {