src/hotspot/share/classfile/dictionary.hpp
changeset 48811 58787a1708d2
parent 48781 6ebef5cd0c8d
child 49340 4e82736053ae
--- a/src/hotspot/share/classfile/dictionary.hpp	Wed Jan 24 11:22:50 2018 +0100
+++ b/src/hotspot/share/classfile/dictionary.hpp	Wed Jan 24 11:33:18 2018 -0500
@@ -53,6 +53,8 @@
 
   DictionaryEntry* get_entry(int index, unsigned int hash, Symbol* name);
 
+  void clean_cached_protection_domains(BoolObjectClosure* is_alive, DictionaryEntry* probe);
+
 protected:
   static size_t entry_size();
 public:
@@ -84,7 +86,7 @@
   void remove_classes_in_error_state();
 
   // Unload classes whose defining loaders are unloaded
-  void do_unloading();
+  void do_unloading(BoolObjectClosure* is_alive);
 
   // Protection domains
   InstanceKlass* find(unsigned int hash, Symbol* name, Handle protection_domain);