src/share/vm/classfile/dictionary.hpp

Print this page
rev 9227 : [mq] cds

@@ -51,10 +51,11 @@
   ProtectionDomainCacheTable*   _pd_cache_table;
 
   DictionaryEntry* get_entry(int index, unsigned int hash,
                              Symbol* name, ClassLoaderData* loader_data);
 
+protected:
   DictionaryEntry* bucket(int i) {
     return (DictionaryEntry*)Hashtable<Klass*, mtClass>::bucket(i);
   }
 
   // The following method is not MT-safe and must be done under lock.

@@ -64,10 +65,11 @@
 
   void add_entry(int index, DictionaryEntry* new_entry) {
     Hashtable<Klass*, mtClass>::add_entry(index, (HashtableEntry<Klass*, mtClass>*)new_entry);
   }
 
+  static size_t entry_size();
 public:
   Dictionary(int table_size);
   Dictionary(int table_size, HashtableBucket<mtClass>* t, int number_of_entries);
 
   DictionaryEntry* new_entry(unsigned int hash, Klass* klass, ClassLoaderData* loader_data);