< prev index next >

src/hotspot/share/classfile/dictionary.hpp

Print this page

        

@@ -59,10 +59,12 @@
 
   static bool does_any_dictionary_needs_resizing();
   bool resize_if_needed();
 
   void add_klass(unsigned int hash, Symbol* class_name, InstanceKlass* obj);
+  // replace the existing class with k, return old class.
+  InstanceKlass* replace_class(int index, unsigned hash, Symbol* class_name, InstanceKlass* k);
 
   InstanceKlass* find_class(int index, unsigned int hash, Symbol* name);
 
   void classes_do(void f(InstanceKlass*));
   void classes_do(void f(InstanceKlass*, TRAPS), TRAPS);
< prev index next >