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
@ -842,10 +842,7 @@ void Method::print_made_not_compilable(int comp_level, bool is_osr, bool report,
|
|||||||
if (comp_level == CompLevel_all) {
|
if (comp_level == CompLevel_all) {
|
||||||
tty->print("all levels ");
|
tty->print("all levels ");
|
||||||
} else {
|
} else {
|
||||||
tty->print("levels ");
|
tty->print("level %d ", comp_level);
|
||||||
for (int i = (int)CompLevel_none; i <= comp_level; i++) {
|
|
||||||
tty->print("%d ", i);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
this->print_short_name(tty);
|
this->print_short_name(tty);
|
||||||
int size = this->code_size();
|
int size = this->code_size();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user