--- old/src/share/vm/classfile/javaClasses.hpp Wed Jan 14 21:29:58 2015 +++ new/src/share/vm/classfile/javaClasses.hpp Wed Jan 14 21:29:58 2015 @@ -28,6 +28,7 @@ #include "classfile/systemDictionary.hpp" #include "jvmtifiles/jvmti.h" #include "oops/oop.hpp" +#include "oops/methodOop.hpp" #include "runtime/os.hpp" #include "utilities/utf8.hpp" @@ -1023,7 +1024,8 @@ static oop vmtarget(oop mname); static void set_vmtarget(oop mname, oop target); - static void adjust_vmtarget(oop mname, oop target); + static void adjust_vmtarget(oop mname, methodOop old_method, methodOop new_method, + bool* trace_name_printed); static intptr_t vmindex(oop mname); static void set_vmindex(oop mname, intptr_t index); @@ -1036,6 +1038,8 @@ return obj != NULL && is_subclass(obj->klass()); } + static bool is_method(oop obj); + // Relevant integer codes (keep these in synch. with MethodHandleNatives.Constants): enum { MN_IS_METHOD = 0x00010000, // method (not constructor)