--- a/hotspot/src/share/vm/interpreter/interpreterRuntime.cpp Thu Jan 07 16:25:53 2016 +0100
+++ b/hotspot/src/share/vm/interpreter/interpreterRuntime.cpp Thu Jan 07 13:53:20 2016 -0500
@@ -773,9 +773,11 @@
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