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
|
@ -1069,19 +1069,18 @@ void vmIntrinsics::verify_method(ID actual_id, Method* m) {
|
|||
|
||||
const char* declared_name = name_at(declared_id);
|
||||
const char* actual_name = name_at(actual_id);
|
||||
methodHandle mh = m;
|
||||
m = NULL;
|
||||
ttyLocker ttyl;
|
||||
if (xtty != NULL) {
|
||||
xtty->begin_elem("intrinsic_misdeclared actual='%s' declared='%s'",
|
||||
actual_name, declared_name);
|
||||
xtty->method(mh);
|
||||
xtty->method(m);
|
||||
xtty->end_elem("%s", "");
|
||||
}
|
||||
if (PrintMiscellaneous && (WizardMode || Verbose)) {
|
||||
tty->print_cr("*** misidentified method; %s(%d) should be %s(%d):",
|
||||
declared_name, declared_id, actual_name, actual_id);
|
||||
mh()->print_short_name(tty);
|
||||
m->print_short_name(tty);
|
||||
tty->cr();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue