8233913: Remove implicit conversion from Method* to methodHandle

Fix call sites to use existing THREAD local or pass down THREAD local for shallower callsites. Make linkResolver methods return Method* for caller to handleize if needed.

Reviewed-by: iklam, thartmann, hseigel
This commit is contained in:
Coleen Phillimore 2019-11-13 08:23:23 -05:00
parent 25d3cf9216
commit ed21b56269
82 changed files with 610 additions and 572 deletions

View file

@ -978,7 +978,7 @@ static methodHandle resolve_interface_call(InstanceKlass* klass,
LinkInfo(klass, name, signature),
true,
CHECK_(methodHandle()));
return info.selected_method();
return methodHandle(THREAD, info.selected_method());
}
// Conversion