Mercurial > hg > graal-compiler
comparison src/cpu/x86/vm/interpreter_x86_32.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 | 6759698e3140 |
children | da91efe96a93 |
comparison
equal
deleted
inserted
replaced
6241:aba91a731143 | 6266:1d7922586cf6 |
---|---|
241 | 241 |
242 return entry_point; | 242 return entry_point; |
243 } | 243 } |
244 | 244 |
245 | 245 |
246 // Method handle invoker | |
247 // Dispatch a method of the form java.lang.invoke.MethodHandles::invoke(...) | |
248 address InterpreterGenerator::generate_method_handle_entry(void) { | |
249 if (!EnableInvokeDynamic) { | |
250 return generate_abstract_entry(); | |
251 } | |
252 | |
253 address entry_point = MethodHandles::generate_method_handle_interpreter_entry(_masm); | |
254 | |
255 return entry_point; | |
256 } | |
257 | |
258 void Deoptimization::unwind_callee_save_values(frame* f, vframeArray* vframe_array) { | 246 void Deoptimization::unwind_callee_save_values(frame* f, vframeArray* vframe_array) { |
259 | 247 |
260 // This code is sort of the equivalent of C2IAdapter::setup_stack_frame back in | 248 // This code is sort of the equivalent of C2IAdapter::setup_stack_frame back in |
261 // the days we had adapter frames. When we deoptimize a situation where a | 249 // the days we had adapter frames. When we deoptimize a situation where a |
262 // compiled caller calls a compiled caller will have registers it expects | 250 // compiled caller calls a compiled caller will have registers it expects |