hotspot/src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp
changeset 4902 991aaddb5165
parent 4481 de92ec484f5e
child 5033 55f476a32544
equal deleted inserted replaced
4901:304ce755c6ee 4902:991aaddb5165
   203 {
   203 {
   204   // Set up the region size and associated fields. Given that the
   204   // Set up the region size and associated fields. Given that the
   205   // policy is created before the heap, we have to set this up here,
   205   // policy is created before the heap, we have to set this up here,
   206   // so it's done as soon as possible.
   206   // so it's done as soon as possible.
   207   HeapRegion::setup_heap_region_size(Arguments::min_heap_size());
   207   HeapRegion::setup_heap_region_size(Arguments::min_heap_size());
       
   208   HeapRegionRemSet::setup_remset_size();
   208 
   209 
   209   _recent_prev_end_times_for_all_gcs_sec->add(os::elapsedTime());
   210   _recent_prev_end_times_for_all_gcs_sec->add(os::elapsedTime());
   210   _prev_collection_pause_end_ms = os::elapsedTime() * 1000.0;
   211   _prev_collection_pause_end_ms = os::elapsedTime() * 1000.0;
   211 
   212 
   212   _par_last_ext_root_scan_times_ms = new double[_parallel_gc_threads];
   213   _par_last_ext_root_scan_times_ms = new double[_parallel_gc_threads];