hotspot/src/share/vm/gc/g1/g1MarkSweep.cpp
changeset 46505 fd4bc78630b1
parent 46348 5803de68c14d
child 46795 623a5e42deb6
equal deleted inserted replaced
46504:38048d4d20e7 46505:fd4bc78630b1
   163 
   163 
   164   if (ClassUnloading) {
   164   if (ClassUnloading) {
   165     GCTraceTime(Debug, gc, phases) trace("Class Unloading", gc_timer());
   165     GCTraceTime(Debug, gc, phases) trace("Class Unloading", gc_timer());
   166 
   166 
   167     // Unload classes and purge the SystemDictionary.
   167     // Unload classes and purge the SystemDictionary.
   168     bool purged_class = SystemDictionary::do_unloading(&GenMarkSweep::is_alive);
   168     bool purged_class = SystemDictionary::do_unloading(&GenMarkSweep::is_alive, gc_timer());
   169 
   169 
   170     g1h->complete_cleaning(&GenMarkSweep::is_alive, purged_class);
   170     g1h->complete_cleaning(&GenMarkSweep::is_alive, purged_class);
   171   } else {
   171   } else {
   172     GCTraceTime(Debug, gc, phases) trace("Cleanup", gc_timer());
   172     GCTraceTime(Debug, gc, phases) trace("Cleanup", gc_timer());
   173     g1h->partial_cleaning(&GenMarkSweep::is_alive, true, true, G1StringDedup::is_enabled());
   173     g1h->partial_cleaning(&GenMarkSweep::is_alive, true, true, G1StringDedup::is_enabled());