comparison src/share/vm/classfile/systemDictionary.cpp @ 20770:02c7eebe5f52

Merge
author asaha
date Wed, 19 Nov 2014 12:52:56 -0800
parents c2844108a708 b12a2a9b05ca
children 9fa3bf3043a2
comparison
equal deleted inserted replaced
20769:fc1348524f65 20770:02c7eebe5f52
1689 }; 1689 };
1690 #endif 1690 #endif
1691 1691
1692 // Assumes classes in the SystemDictionary are only unloaded at a safepoint 1692 // Assumes classes in the SystemDictionary are only unloaded at a safepoint
1693 // Note: anonymous classes are not in the SD. 1693 // Note: anonymous classes are not in the SD.
1694 bool SystemDictionary::do_unloading(BoolObjectClosure* is_alive) { 1694 bool SystemDictionary::do_unloading(BoolObjectClosure* is_alive, bool clean_alive) {
1695 // First, mark for unload all ClassLoaderData referencing a dead class loader. 1695 // First, mark for unload all ClassLoaderData referencing a dead class loader.
1696 bool unloading_occurred = ClassLoaderDataGraph::do_unloading(is_alive); 1696 bool unloading_occurred = ClassLoaderDataGraph::do_unloading(is_alive, clean_alive);
1697 if (unloading_occurred) { 1697 if (unloading_occurred) {
1698 dictionary()->do_unloading(); 1698 dictionary()->do_unloading();
1699 constraints()->purge_loader_constraints(); 1699 constraints()->purge_loader_constraints();
1700 resolution_errors()->purge_resolution_errors(); 1700 resolution_errors()->purge_resolution_errors();
1701 } 1701 }