comparison src/share/vm/gc_implementation/g1/concurrentMark.cpp @ 4013:074f0252cc13

7088680: G1: Cleanup in the G1CollectorPolicy class Summary: Removed unused fields and methods, removed the G1CollectoryPolicy_BestRegionsFirst class and folded its functionality into the G1CollectorPolicy class. Reviewed-by: ysr, brutisso, jcoomes
author tonyp
date Fri, 14 Oct 2011 11:12:24 -0400
parents 65a8ff39a6da
children 8aae2050e83e
comparison
equal deleted inserted replaced
4012:ec4b032a4977 4013:074f0252cc13
1814 _total_rs_scrub_time += this_rs_scrub_time; 1814 _total_rs_scrub_time += this_rs_scrub_time;
1815 } 1815 }
1816 1816
1817 // this will also free any regions totally full of garbage objects, 1817 // this will also free any regions totally full of garbage objects,
1818 // and sort the regions. 1818 // and sort the regions.
1819 g1h->g1_policy()->record_concurrent_mark_cleanup_end( 1819 g1h->g1_policy()->record_concurrent_mark_cleanup_end();
1820 g1_par_note_end_task.freed_bytes(),
1821 g1_par_note_end_task.max_live_bytes());
1822 1820
1823 // Statistics. 1821 // Statistics.
1824 double end = os::elapsedTime(); 1822 double end = os::elapsedTime();
1825 _cleanup_times.add((end - start) * 1000.0); 1823 _cleanup_times.add((end - start) * 1000.0);
1826 1824