hotspot/src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp
changeset 3697 ea9211aa02f5
parent 3691 c84b8483cd2c
child 4098 17ac574bab55
equal deleted inserted replaced
3696:9e5d9b5e1049 3697:ea9211aa02f5
   199   _recorded_survivor_head(NULL),
   199   _recorded_survivor_head(NULL),
   200   _recorded_survivor_tail(NULL),
   200   _recorded_survivor_tail(NULL),
   201   _survivors_age_table(true)
   201   _survivors_age_table(true)
   202 
   202 
   203 {
   203 {
       
   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,
       
   206   // so it's done as soon as possible.
       
   207   HeapRegion::setup_heap_region_size(Arguments::min_heap_size());
       
   208 
   204   _recent_prev_end_times_for_all_gcs_sec->add(os::elapsedTime());
   209   _recent_prev_end_times_for_all_gcs_sec->add(os::elapsedTime());
   205   _prev_collection_pause_end_ms = os::elapsedTime() * 1000.0;
   210   _prev_collection_pause_end_ms = os::elapsedTime() * 1000.0;
   206 
   211 
   207   _par_last_ext_root_scan_times_ms = new double[_parallel_gc_threads];
   212   _par_last_ext_root_scan_times_ms = new double[_parallel_gc_threads];
   208   _par_last_mark_stack_scan_times_ms = new double[_parallel_gc_threads];
   213   _par_last_mark_stack_scan_times_ms = new double[_parallel_gc_threads];