hotspot/src/share/vm/gc/g1/g1CollectedHeap.cpp
changeset 41176 ff9f64534cff
parent 40922 d9f1eaf18f9a
child 41178 e567be097315
equal deleted inserted replaced
41175:68d3c7c39153 41176:ff9f64534cff
  3163 
  3163 
  3164         register_humongous_regions_with_cset();
  3164         register_humongous_regions_with_cset();
  3165 
  3165 
  3166         assert(_verifier->check_cset_fast_test(), "Inconsistency in the InCSetState table.");
  3166         assert(_verifier->check_cset_fast_test(), "Inconsistency in the InCSetState table.");
  3167 
  3167 
  3168         _cm->note_start_of_gc();
       
  3169         // We call this after finalize_cset() to
  3168         // We call this after finalize_cset() to
  3170         // ensure that the CSet has been finalized.
  3169         // ensure that the CSet has been finalized.
  3171         _cm->verify_no_cset_oops();
  3170         _cm->verify_no_cset_oops();
  3172 
  3171 
  3173         if (_hr_printer.is_active()) {
  3172         if (_hr_printer.is_active()) {
  3249         }
  3248         }
  3250 
  3249 
  3251         // We redo the verification but now wrt to the new CSet which
  3250         // We redo the verification but now wrt to the new CSet which
  3252         // has just got initialized after the previous CSet was freed.
  3251         // has just got initialized after the previous CSet was freed.
  3253         _cm->verify_no_cset_oops();
  3252         _cm->verify_no_cset_oops();
  3254         _cm->note_end_of_gc();
       
  3255 
  3253 
  3256         // This timing is only used by the ergonomics to handle our pause target.
  3254         // This timing is only used by the ergonomics to handle our pause target.
  3257         // It is unclear why this should not include the full pause. We will
  3255         // It is unclear why this should not include the full pause. We will
  3258         // investigate this in CR 7178365.
  3256         // investigate this in CR 7178365.
  3259         double sample_end_time_sec = os::elapsedTime();
  3257         double sample_end_time_sec = os::elapsedTime();