hotspot/src/share/vm/classfile/packageEntry.hpp
changeset 37503 77531df4dad3
parent 36508 5f9eee6b383b
child 38733 2b65f4db449e
equal deleted inserted replaced
37437:f824aabc7af8 37503:77531df4dad3
    27 
    27 
    28 #include "classfile/moduleEntry.hpp"
    28 #include "classfile/moduleEntry.hpp"
    29 #include "oops/symbol.hpp"
    29 #include "oops/symbol.hpp"
    30 #include "utilities/growableArray.hpp"
    30 #include "utilities/growableArray.hpp"
    31 #include "utilities/hashtable.hpp"
    31 #include "utilities/hashtable.hpp"
       
    32 #include "utilities/ostream.hpp"
    32 
    33 
    33 // A PackageEntry basically represents a Java package.  It contains:
    34 // A PackageEntry basically represents a Java package.  It contains:
    34 //   - Symbol* containing the package's name.
    35 //   - Symbol* containing the package's name.
    35 //   - ModuleEntry* for this package's containing module.
    36 //   - ModuleEntry* for this package's containing module.
    36 //   - a flag indicating if package is exported, either qualifiedly or
    37 //   - a flag indicating if package is exported, either qualifiedly or
   142 
   143 
   143   // Purge dead weak references out of exported list when any given class loader is unloaded.
   144   // Purge dead weak references out of exported list when any given class loader is unloaded.
   144   void purge_qualified_exports();
   145   void purge_qualified_exports();
   145   void delete_qualified_exports();
   146   void delete_qualified_exports();
   146 
   147 
   147   void print() PRODUCT_RETURN;
   148   void print(outputStream* st = tty);
   148   void verify();
   149   void verify();
   149 };
   150 };
   150 
   151 
   151 // The PackageEntryTable is a Hashtable containing a list of all packages defined
   152 // The PackageEntryTable is a Hashtable containing a list of all packages defined
   152 // by a particular class loader.  Each package is represented as a PackageEntry node.
   153 // by a particular class loader.  Each package is represented as a PackageEntry node.
   193   void verify_javabase_packages(GrowableArray<Symbol*> *pkg_list);
   194   void verify_javabase_packages(GrowableArray<Symbol*> *pkg_list);
   194 
   195 
   195   // purge dead weak references out of exported list
   196   // purge dead weak references out of exported list
   196   void purge_all_package_exports();
   197   void purge_all_package_exports();
   197 
   198 
   198   void print() PRODUCT_RETURN;
   199   void print(outputStream* st = tty);
   199   void verify();
   200   void verify();
   200 };
   201 };
   201 
   202 
   202 #endif // SHARE_VM_CLASSFILE_PACKAGEENTRY_HPP
   203 #endif // SHARE_VM_CLASSFILE_PACKAGEENTRY_HPP