mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8141564: Convert TraceItables and PrintVtables to Unified Logging
The former -XX:+TraceItables and +PrintVtables flags have been converted to UL options -Xlog:itables=trace and vtables=trace Reviewed-by: acorn, coleenp, dholmes
This commit is contained in:
parent
98193d202b
commit
6dac872d4d
15 changed files with 556 additions and 188 deletions
|
@ -773,9 +773,11 @@ void InterpreterRuntime::resolve_invoke(JavaThread* thread, Bytecodes::Code byte
|
|||
if (cp_cache_entry->is_resolved(bytecode)) return;
|
||||
|
||||
if (bytecode == Bytecodes::_invokeinterface) {
|
||||
if (TraceItables && Verbose) {
|
||||
if (develop_log_is_enabled(Trace, itables)) {
|
||||
ResourceMark rm(thread);
|
||||
tty->print_cr("Resolving: klass: %s to method: %s", info.resolved_klass()->name()->as_C_string(), info.resolved_method()->name()->as_C_string());
|
||||
log_develop_trace(itables)("Resolving: klass: %s to method: %s",
|
||||
info.resolved_klass()->name()->as_C_string(),
|
||||
info.resolved_method()->name()->as_C_string());
|
||||
}
|
||||
}
|
||||
#ifdef ASSERT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue