src/hotspot/share/oops/klass.hpp
changeset 49969 8624981f1ffa
parent 49948 ff8dbb56740a
child 49982 9042ffe5b7fe
equal deleted inserted replaced
49968:33a76b934213 49969:8624981f1ffa
   636 
   636 
   637   // Iff the class loader (or mirror for anonymous classes) is alive the
   637   // Iff the class loader (or mirror for anonymous classes) is alive the
   638   // Klass is considered alive.  Has already been marked as unloading.
   638   // Klass is considered alive.  Has already been marked as unloading.
   639   bool is_loader_alive() const { return !class_loader_data()->is_unloading(); }
   639   bool is_loader_alive() const { return !class_loader_data()->is_unloading(); }
   640 
   640 
   641   static void clean_weak_klass_links(bool clean_alive_klasses = true);
   641   static void clean_weak_klass_links(bool unloading_occurred, bool clean_alive_klasses = true);
   642   static void clean_subklass_tree() {
   642   static void clean_subklass_tree() {
   643     clean_weak_klass_links(false /* clean_alive_klasses */);
   643     clean_weak_klass_links(/*unloading_occurred*/ true , /* clean_alive_klasses */ false);
   644   }
   644   }
   645 
   645 
   646   // GC specific object visitors
   646   // GC specific object visitors
   647   //
   647   //
   648 #if INCLUDE_ALL_GCS
   648 #if INCLUDE_ALL_GCS