1.1 --- a/src/share/vm/gc_implementation/g1/g1CollectorPolicy.hpp Thu Sep 22 07:18:51 2011 -0400 1.2 +++ b/src/share/vm/gc_implementation/g1/g1CollectorPolicy.hpp Thu Sep 22 10:57:37 2011 -0700 1.3 @@ -119,6 +119,8 @@ 1.4 double _cur_satb_drain_time_ms; 1.5 double _cur_clear_ct_time_ms; 1.6 bool _satb_drain_time_set; 1.7 + double _cur_ref_proc_time_ms; 1.8 + double _cur_ref_enq_time_ms; 1.9 1.10 #ifndef PRODUCT 1.11 // Card Table Count Cache stats 1.12 @@ -986,6 +988,14 @@ 1.13 _cur_aux_times_ms[i] += ms; 1.14 } 1.15 1.16 + void record_ref_proc_time(double ms) { 1.17 + _cur_ref_proc_time_ms = ms; 1.18 + } 1.19 + 1.20 + void record_ref_enq_time(double ms) { 1.21 + _cur_ref_enq_time_ms = ms; 1.22 + } 1.23 + 1.24 #ifndef PRODUCT 1.25 void record_cc_clear_time(double ms) { 1.26 if (_min_clear_cc_time_ms < 0.0 || ms <= _min_clear_cc_time_ms)