--- old/src/hotspot/share/gc/g1/g1GCPhaseTimes.cpp 2020-02-12 17:18:33.065499100 +0800 +++ new/src/hotspot/share/gc/g1/g1GCPhaseTimes.cpp 2020-02-12 17:18:33.067499172 +0800 @@ -159,7 +159,7 @@ _cur_resize_tlab_time_ms = 0.0; _cur_derived_pointer_table_update_time_ms = 0.0; _cur_clear_ct_time_ms = 0.0; - _cur_expand_heap_time_ms = 0.0; + _cur_resize_heap_time_ms = 0.0; _cur_ref_proc_time_ms = 0.0; _cur_collection_start_sec = 0.0; _root_region_scan_wait_time_ms = 0.0; @@ -466,7 +466,7 @@ _recorded_total_free_cset_time_ms + _recorded_total_rebuild_freelist_time_ms + _cur_fast_reclaim_humongous_time_ms + - _cur_expand_heap_time_ms + + _cur_resize_heap_time_ms + _cur_string_deduplication_time_ms; info_time("Post Evacuate Collection Set", sum_ms); @@ -518,7 +518,7 @@ if (UseTLAB && ResizeTLAB) { debug_time("Resize TLABs", _cur_resize_tlab_time_ms); } - debug_time("Expand Heap After Collection", _cur_expand_heap_time_ms); + debug_time("Resize Heap After Collection", _cur_resize_heap_time_ms); return sum_ms;