mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
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:
parent
25d3cf9216
commit
ed21b56269
82 changed files with 610 additions and 572 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue