mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8227632: Incorrect PrintCompilation message: made not compilable on levels 0 1 2 3 4
Fixing the message to print actual comp_level Reviewed-by: dlong, kvn
This commit is contained in:
parent
b0adbe8fcf
commit
587ce2f4c1
1 changed files with 1 additions and 4 deletions
|
@ -842,10 +842,7 @@ void Method::print_made_not_compilable(int comp_level, bool is_osr, bool report,
|
|||
if (comp_level == CompLevel_all) {
|
||||
tty->print("all levels ");
|
||||
} else {
|
||||
tty->print("levels ");
|
||||
for (int i = (int)CompLevel_none; i <= comp_level; i++) {
|
||||
tty->print("%d ", i);
|
||||
}
|
||||
tty->print("level %d ", comp_level);
|
||||
}
|
||||
this->print_short_name(tty);
|
||||
int size = this->code_size();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue