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:
Rachel Protacio 2016-01-07 13:53:20 -05:00
parent 98193d202b
commit 6dac872d4d
15 changed files with 556 additions and 188 deletions

View file

@ -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