1.1 --- a/src/share/vm/gc_implementation/g1/g1CollectorPolicy.hpp Thu Jan 12 00:06:47 2012 -0800 1.2 +++ b/src/share/vm/gc_implementation/g1/g1CollectorPolicy.hpp Wed Jan 25 12:58:23 2012 -0500 1.3 @@ -65,6 +65,7 @@ 1.4 1.5 class MainBodySummary: public CHeapObj { 1.6 define_num_seq(satb_drain) // optional 1.7 + define_num_seq(root_region_scan_wait) 1.8 define_num_seq(parallel) // parallel only 1.9 define_num_seq(ext_root_scan) 1.10 define_num_seq(satb_filtering) 1.11 @@ -715,6 +716,7 @@ 1.12 double _mark_remark_start_sec; 1.13 double _mark_cleanup_start_sec; 1.14 double _mark_closure_time_ms; 1.15 + double _root_region_scan_wait_time_ms; 1.16 1.17 // Update the young list target length either by setting it to the 1.18 // desired fixed value or by calculating it using G1's pause 1.19 @@ -817,6 +819,10 @@ 1.20 _mark_closure_time_ms = mark_closure_time_ms; 1.21 } 1.22 1.23 + void record_root_region_scan_wait_time(double time_ms) { 1.24 + _root_region_scan_wait_time_ms = time_ms; 1.25 + } 1.26 + 1.27 void record_concurrent_mark_remark_start(); 1.28 void record_concurrent_mark_remark_end(); 1.29 1.30 @@ -1147,11 +1153,6 @@ 1.31 _survivor_surv_rate_group->stop_adding_regions(); 1.32 } 1.33 1.34 - void tenure_all_objects() { 1.35 - _max_survivor_regions = 0; 1.36 - _tenuring_threshold = 0; 1.37 - } 1.38 - 1.39 void record_survivor_regions(size_t regions, 1.40 HeapRegion* head, 1.41 HeapRegion* tail) {