equal
deleted
inserted
replaced
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()); |