comparison src/share/vm/runtime/deoptimization.cpp @ 6266:1d7922586cf6

7023639: JSR 292 method handle invocation needs a fast path for compiled code 6984705: JSR 292 method handle creation should not go through JNI Summary: remove assembly code for JDK 7 chained method handles Reviewed-by: jrose, twisti, kvn, mhaupt Contributed-by: John Rose <john.r.rose@oracle.com>, Christian Thalinger <christian.thalinger@oracle.com>, Michael Haupt <michael.haupt@oracle.com>
author twisti
date Tue, 24 Jul 2012 10:51:00 -0700
parents d2a62e0f25eb
children 957c266d8bc5 da91efe96a93
comparison
equal deleted inserted replaced
6241:aba91a731143 6266:1d7922586cf6
386 // frame. 386 // frame.
387 bool caller_was_method_handle = false; 387 bool caller_was_method_handle = false;
388 if (deopt_sender.is_interpreted_frame()) { 388 if (deopt_sender.is_interpreted_frame()) {
389 methodHandle method = deopt_sender.interpreter_frame_method(); 389 methodHandle method = deopt_sender.interpreter_frame_method();
390 Bytecode_invoke cur = Bytecode_invoke_check(method, deopt_sender.interpreter_frame_bci()); 390 Bytecode_invoke cur = Bytecode_invoke_check(method, deopt_sender.interpreter_frame_bci());
391 if (cur.is_method_handle_invoke()) { 391 if (cur.is_invokedynamic() || cur.is_invokehandle()) {
392 // Method handle invokes may involve fairly arbitrary chains of 392 // Method handle invokes may involve fairly arbitrary chains of
393 // calls so it's impossible to know how much actual space the 393 // calls so it's impossible to know how much actual space the
394 // caller has for locals. 394 // caller has for locals.
395 caller_was_method_handle = true; 395 caller_was_method_handle = true;
396 } 396 }