hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp
changeset 24457 0e20b36df5c4
parent 24429 4efc66ee325c
child 24845 e8b8894a77df
equal deleted inserted replaced
24456:8c7933fa5a1f 24457:0e20b36df5c4
  6360   }
  6360   }
  6361   verify_work_stacks_empty();
  6361   verify_work_stacks_empty();
  6362   verify_overflow_empty();
  6362   verify_overflow_empty();
  6363 
  6363 
  6364   if (should_unload_classes()) {
  6364   if (should_unload_classes()) {
  6365     ClassLoaderDataGraph::purge();
  6365     // Delay purge to the beginning of the next safepoint.  Metaspace::contains
       
  6366     // requires that the virtual spaces are stable and not deleted.
       
  6367     ClassLoaderDataGraph::set_should_purge(true);
  6366   }
  6368   }
  6367 
  6369 
  6368   _intra_sweep_timer.stop();
  6370   _intra_sweep_timer.stop();
  6369   _intra_sweep_estimate.sample(_intra_sweep_timer.seconds());
  6371   _intra_sweep_estimate.sample(_intra_sweep_timer.seconds());
  6370 
  6372