mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8208399: Metadata methods print_(value_)on_maybe_null() compare 'this' to NULL
Add Method* parameter and make method static to avoid 'this' comparison with NULL Reviewed-by: lfoltan, gziemski, coleenp
This commit is contained in:
parent
c9d506055c
commit
7d04a31fc8
3 changed files with 10 additions and 17 deletions
|
@ -2346,7 +2346,7 @@ void nmethod::print_recorded_metadata() {
|
|||
if (m == (Metadata*)Universe::non_oop_word()) {
|
||||
tty->print("non-metadata word");
|
||||
} else {
|
||||
m->print_value_on_maybe_null(tty);
|
||||
Metadata::print_value_on_maybe_null(tty, m);
|
||||
}
|
||||
tty->cr();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue