hotspot/src/share/vm/classfile/classLoaderData.hpp
changeset 46387 c46632622b17
parent 46380 4a51438196cf
child 46420 227f72691ac1
equal deleted inserted replaced
46386:742f8b16d00c 46387:c46632622b17
   219   ChunkedHandleList _handles; // Handles to constant pool arrays, Modules, etc, which
   219   ChunkedHandleList _handles; // Handles to constant pool arrays, Modules, etc, which
   220                               // have the same life cycle of the corresponding ClassLoader.
   220                               // have the same life cycle of the corresponding ClassLoader.
   221 
   221 
   222   Klass* volatile _klasses;              // The classes defined by the class loader.
   222   Klass* volatile _klasses;              // The classes defined by the class loader.
   223   PackageEntryTable* volatile _packages; // The packages defined by the class loader.
   223   PackageEntryTable* volatile _packages; // The packages defined by the class loader.
       
   224   ModuleEntry* _unnamed_module;          // This class loader's unnamed module.
   224   ModuleEntryTable* volatile _modules;   // The modules defined by the class loader.
   225   ModuleEntryTable* volatile _modules;   // The modules defined by the class loader.
   225 
   226 
   226   // These method IDs are created for the class loader and set to NULL when the
   227   // These method IDs are created for the class loader and set to NULL when the
   227   // class loader is unloaded.  They are rarely freed, only for redefine classes
   228   // class loader is unloaded.  They are rarely freed, only for redefine classes
   228   // and if they lose a data race in InstanceKlass.
   229   // and if they lose a data race in InstanceKlass.
   346   bool contains_klass(Klass* k);
   347   bool contains_klass(Klass* k);
   347   void record_dependency(const Klass* to, TRAPS);
   348   void record_dependency(const Klass* to, TRAPS);
   348   void init_dependencies(TRAPS);
   349   void init_dependencies(TRAPS);
   349   PackageEntryTable* packages();
   350   PackageEntryTable* packages();
   350   bool packages_defined() { return (_packages != NULL); }
   351   bool packages_defined() { return (_packages != NULL); }
       
   352   ModuleEntry* unnamed_module() { return _unnamed_module; }
   351   ModuleEntryTable* modules();
   353   ModuleEntryTable* modules();
   352   bool modules_defined() { return (_modules != NULL); }
   354   bool modules_defined() { return (_modules != NULL); }
   353 
   355 
   354   void add_to_deallocate_list(Metadata* m);
   356   void add_to_deallocate_list(Metadata* m);
   355 
   357