hotspot/src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp
changeset 2133 30b3986c8150
parent 2121 0b899b36d991
parent 2131 98f9cef66a34
child 2146 e1efdb8c4eca
equal deleted inserted replaced
2124:6222ebfe4292 2133:30b3986c8150
  2511     if (g1_policy()->should_initiate_conc_mark()) {
  2511     if (g1_policy()->should_initiate_conc_mark()) {
  2512       concurrent_mark()->checkpointRootsInitialPre();
  2512       concurrent_mark()->checkpointRootsInitialPre();
  2513     }
  2513     }
  2514     save_marks();
  2514     save_marks();
  2515 
  2515 
  2516     // We must do this before any possible evacuation that should propogate
  2516     // We must do this before any possible evacuation that should propagate
  2517     // marks, including evacuation of popular objects in a popular pause.
  2517     // marks, including evacuation of popular objects in a popular pause.
  2518     if (mark_in_progress()) {
  2518     if (mark_in_progress()) {
  2519       double start_time_sec = os::elapsedTime();
  2519       double start_time_sec = os::elapsedTime();
  2520 
  2520 
  2521       _cm->drainAllSATBBuffers();
  2521       _cm->drainAllSATBBuffers();