src/hotspot/share/classfile/systemDictionary.hpp
changeset 47774 69c081ca110a
parent 47761 1b0566927c7a
child 48463 474cec233fb2
child 48514 9608f7f41c4e
equal deleted inserted replaced
47773:6e3ab27f9144 47774:69c081ca110a
   653   static InstanceKlass* find_shared_class(Symbol* class_name);
   653   static InstanceKlass* find_shared_class(Symbol* class_name);
   654 
   654 
   655   // Setup link to hierarchy
   655   // Setup link to hierarchy
   656   static void add_to_hierarchy(InstanceKlass* k, TRAPS);
   656   static void add_to_hierarchy(InstanceKlass* k, TRAPS);
   657 
   657 
   658   // We pass in the hashtable index so we can calculate it outside of
       
   659   // the SystemDictionary_lock.
       
   660 
       
   661   // Basic find on loaded classes
   658   // Basic find on loaded classes
   662   static InstanceKlass* find_class(int index, unsigned int hash,
   659   static InstanceKlass* find_class(unsigned int hash,
   663                                    Symbol* name, Dictionary* dictionary);
   660                                    Symbol* name, Dictionary* dictionary);
   664   static InstanceKlass* find_class(Symbol* class_name, ClassLoaderData* loader_data);
   661   static InstanceKlass* find_class(Symbol* class_name, ClassLoaderData* loader_data);
   665 
   662 
   666   // Basic find on classes in the midst of being loaded
   663   // Basic find on classes in the midst of being loaded
   667   static Symbol* find_placeholder(Symbol* name, ClassLoaderData* loader_data);
   664   static Symbol* find_placeholder(Symbol* name, ClassLoaderData* loader_data);
   683 
   680 
   684   // Initialization
   681   // Initialization
   685   static void initialize_preloaded_classes(TRAPS);
   682   static void initialize_preloaded_classes(TRAPS);
   686 
   683 
   687   // Class loader constraints
   684   // Class loader constraints
   688   static void check_constraints(int index, unsigned int hash,
   685   static void check_constraints(unsigned int hash,
   689                                 InstanceKlass* k, Handle loader,
   686                                 InstanceKlass* k, Handle loader,
   690                                 bool defining, TRAPS);
   687                                 bool defining, TRAPS);
   691   static void update_dictionary(int d_index, unsigned int d_hash,
   688   static void update_dictionary(unsigned int d_hash,
   692                                 int p_index, unsigned int p_hash,
   689                                 int p_index, unsigned int p_hash,
   693                                 InstanceKlass* k, Handle loader,
   690                                 InstanceKlass* k, Handle loader,
   694                                 TRAPS);
   691                                 TRAPS);
   695 
   692 
   696   // Variables holding commonly used klasses (preloaded)
   693   // Variables holding commonly used klasses (preloaded)