7050554: JSR 292 - need optimization for selectAlternative

Reviewed-by: kvn, jrose
This commit is contained in:
Tom Rodriguez 2011-06-02 13:36:11 -07:00
parent 8465226f29
commit e666162b03
7 changed files with 112 additions and 58 deletions

View file

@ -111,6 +111,8 @@ class CallGenerator : public ResourceObj {
static CallGenerator* for_dynamic_call(ciMethod* m); // invokedynamic
static CallGenerator* for_virtual_call(ciMethod* m, int vtable_index); // virtual, interface
static CallGenerator* for_method_handle_inline(Node* method_handle, JVMState* jvms, ciMethod* caller, ciMethod* callee, ciCallProfile profile);
// How to generate a replace a direct call with an inline version
static CallGenerator* for_late_inline(ciMethod* m, CallGenerator* inline_cg);