1.1 --- a/src/share/vm/runtime/deoptimization.cpp Mon Jul 23 13:04:59 2012 -0700 1.2 +++ b/src/share/vm/runtime/deoptimization.cpp Tue Jul 24 10:51:00 2012 -0700 1.3 @@ -388,7 +388,7 @@ 1.4 if (deopt_sender.is_interpreted_frame()) { 1.5 methodHandle method = deopt_sender.interpreter_frame_method(); 1.6 Bytecode_invoke cur = Bytecode_invoke_check(method, deopt_sender.interpreter_frame_bci()); 1.7 - if (cur.is_method_handle_invoke()) { 1.8 + if (cur.is_invokedynamic() || cur.is_invokehandle()) { 1.9 // Method handle invokes may involve fairly arbitrary chains of 1.10 // calls so it's impossible to know how much actual space the 1.11 // caller has for locals.