diff src/share/vm/runtime/deoptimization.cpp @ 6905:e4d10261499c

Merge
author asaha
date Fri, 07 Sep 2012 18:18:55 -0700
parents 1d7922586cf6
children 957c266d8bc5 da91efe96a93
line wrap: on
line diff
--- a/src/share/vm/runtime/deoptimization.cpp	Fri Aug 10 10:41:13 2012 -0700
+++ b/src/share/vm/runtime/deoptimization.cpp	Fri Sep 07 18:18:55 2012 -0700
@@ -388,7 +388,7 @@
   if (deopt_sender.is_interpreted_frame()) {
     methodHandle method = deopt_sender.interpreter_frame_method();
     Bytecode_invoke cur = Bytecode_invoke_check(method, deopt_sender.interpreter_frame_bci());
-    if (cur.is_method_handle_invoke()) {
+    if (cur.is_invokedynamic() || cur.is_invokehandle()) {
       // Method handle invokes may involve fairly arbitrary chains of
       // calls so it's impossible to know how much actual space the
       // caller has for locals.