1.1 --- a/src/share/vm/oops/klassVtable.hpp Thu Apr 14 23:06:33 2011 -0400 1.2 +++ b/src/share/vm/oops/klassVtable.hpp Fri Apr 15 09:36:28 2011 -0400 1.3 @@ -75,7 +75,15 @@ 1.4 1.5 void initialize_vtable(bool checkconstraints, TRAPS); // initialize vtable of a new klass 1.6 1.7 - // conputes vtable length (in words) and the number of miranda methods 1.8 + // CDS/RedefineClasses support - clear vtables so they can be reinitialized 1.9 + // at dump time. Clearing gives us an easy way to tell if the vtable has 1.10 + // already been reinitialized at dump time (see dump.cpp). Vtables can 1.11 + // be initialized at run time by RedefineClasses so dumping the right order 1.12 + // is necessary. 1.13 + void clear_vtable(); 1.14 + bool is_initialized(); 1.15 + 1.16 + // computes vtable length (in words) and the number of miranda methods 1.17 static void compute_vtable_size_and_num_mirandas(int &vtable_length, int &num_miranda_methods, 1.18 klassOop super, objArrayOop methods, 1.19 AccessFlags class_flags, Handle classloader,