equal
deleted
inserted
replaced
972 static void sort_methods(Array<Method*>* methods, bool set_idnums = true); |
972 static void sort_methods(Array<Method*>* methods, bool set_idnums = true); |
973 |
973 |
974 // Deallocation function for redefine classes or if an error occurs |
974 // Deallocation function for redefine classes or if an error occurs |
975 void deallocate_contents(ClassLoaderData* loader_data); |
975 void deallocate_contents(ClassLoaderData* loader_data); |
976 |
976 |
|
977 Method* get_new_method() const { |
|
978 InstanceKlass* holder = method_holder(); |
|
979 Method* new_method = holder->method_with_idnum(orig_method_idnum()); |
|
980 |
|
981 assert(new_method != NULL, "method_with_idnum() should not be NULL"); |
|
982 assert(this != new_method, "sanity check"); |
|
983 return new_method; |
|
984 } |
|
985 |
977 // Printing |
986 // Printing |
978 #ifndef PRODUCT |
987 #ifndef PRODUCT |
979 void print_on(outputStream* st) const; |
988 void print_on(outputStream* st) const; |
980 #endif |
989 #endif |
981 void print_value_on(outputStream* st) const; |
990 void print_value_on(outputStream* st) const; |