--- old/src/share/vm/gc_implementation/g1/g1GCPhaseTimes.hpp 2015-03-13 14:21:57.151222265 -0400 +++ new/src/share/vm/gc_implementation/g1/g1GCPhaseTimes.hpp 2015-03-13 14:21:57.083222269 -0400 @@ -78,6 +78,7 @@ double _cur_string_dedup_fixup_time_ms; double _cur_clear_ct_time_ms; + double _cur_expand_heap_time_ms; double _cur_ref_proc_time_ms; double _cur_ref_enq_time_ms; @@ -141,6 +142,10 @@ _cur_clear_ct_time_ms = ms; } + void record_expand_heap_time(double ms) { + _cur_expand_heap_time_ms = ms; + } + void record_par_time(double ms) { _cur_collection_par_time_ms = ms; } @@ -238,6 +243,10 @@ return _cur_clear_ct_time_ms; } + double cur_expand_heap_time_ms() { + return _cur_expand_heap_time_ms; + } + double root_region_scan_wait_time_ms() { return _root_region_scan_wait_time_ms; }