mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +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
|
@ -2891,9 +2891,11 @@ void AdapterHandlerLibrary::create_native_wrapper(const methodHandle& method) {
|
|||
|
||||
// Install the generated code.
|
||||
if (nm != NULL) {
|
||||
const char *msg = method->is_static() ? "(static)" : "";
|
||||
CompileTask::print_ul(nm, msg);
|
||||
if (PrintCompilation) {
|
||||
ttyLocker ttyl;
|
||||
CompileTask::print(tty, nm, method->is_static() ? "(static)" : "");
|
||||
CompileTask::print(tty, nm, msg);
|
||||
}
|
||||
nm->post_compiled_method_load_event();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue