6805864: 4/3 Problem with jvmti->redefineClasses: some methods don't get redefined

Remove incorrect optimization in klassItable::adjust_method_entries(). Add RedefineClasses() tracing support for obsolete method entry.

Reviewed-by: acorn, swamyv
This commit is contained in:
Daniel D. Daugherty 2009-03-02 14:03:03 -07:00
parent 56fe18e375
commit da3f81559f
11 changed files with 97 additions and 4 deletions

View file

@ -166,6 +166,9 @@ class SharedRuntime: AllStatic {
static void throw_and_post_jvmti_exception(JavaThread *thread, Handle h_exception);
static void throw_and_post_jvmti_exception(JavaThread *thread, symbolOop name, const char *message = NULL);
// RedefineClasses() tracing support for obsolete method entry
static int rc_trace_method_entry(JavaThread* thread, methodOopDesc* m);
// To be used as the entry point for unresolved native methods.
static address native_method_throw_unsatisfied_link_error_entry();