mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 23:34:52 +02:00
8172285: UL support for PrintCompilation
Reviewed-by: kvn
This commit is contained in:
parent
5a06c21978
commit
b1171ce431
8 changed files with 85 additions and 28 deletions
|
@ -1134,8 +1134,11 @@ void nmethod::log_state_change() const {
|
|||
xtty->end_elem();
|
||||
}
|
||||
}
|
||||
|
||||
const char *state_msg = _state == zombie ? "made zombie" : "made not entrant";
|
||||
CompileTask::print_ul(this, state_msg);
|
||||
if (PrintCompilation && _state != unloaded) {
|
||||
print_on(tty, _state == zombie ? "made zombie" : "made not entrant");
|
||||
print_on(tty, state_msg);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue