equal
deleted
inserted
replaced
224 // Unload classes and purge the SystemDictionary. |
224 // Unload classes and purge the SystemDictionary. |
225 bool purged_class = SystemDictionary::do_unloading(scope()->timer()); |
225 bool purged_class = SystemDictionary::do_unloading(scope()->timer()); |
226 _heap->complete_cleaning(&_is_alive, purged_class); |
226 _heap->complete_cleaning(&_is_alive, purged_class); |
227 } else { |
227 } else { |
228 GCTraceTime(Debug, gc, phases) debug("Phase 1: String and Symbol Tables Cleanup", scope()->timer()); |
228 GCTraceTime(Debug, gc, phases) debug("Phase 1: String and Symbol Tables Cleanup", scope()->timer()); |
229 // If no class unloading just clean out strings and symbols. |
229 // If no class unloading just clean out strings. |
230 _heap->partial_cleaning(&_is_alive, true, true, G1StringDedup::is_enabled()); |
230 _heap->partial_cleaning(&_is_alive, true, G1StringDedup::is_enabled()); |
231 } |
231 } |
232 |
232 |
233 scope()->tracer()->report_object_count_after_gc(&_is_alive); |
233 scope()->tracer()->report_object_count_after_gc(&_is_alive); |
234 } |
234 } |
235 |
235 |