8150746: runtime/logging/ItablesTest.java fails with: java.lang.RuntimeException: 'Resolving: klass: ' missing from stdout/stderr
Summary: Deleted logging line from code and test because unnecessary
Reviewed-by: twisti, coleenp
--- a/hotspot/src/share/vm/interpreter/interpreterRuntime.cpp Wed Mar 02 17:08:26 2016 +0300
+++ b/hotspot/src/share/vm/interpreter/interpreterRuntime.cpp Wed Mar 02 10:59:25 2016 -0500
@@ -762,14 +762,6 @@
ConstantPoolCacheEntry* cp_cache_entry = cache_entry(thread);
if (cp_cache_entry->is_resolved(bytecode)) return;
- if (bytecode == Bytecodes::_invokeinterface) {
- if (log_develop_is_enabled(Trace, itables)) {
- ResourceMark rm(thread);
- 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
if (bytecode == Bytecodes::_invokeinterface) {
if (info.resolved_method()->method_holder() ==
--- a/hotspot/test/runtime/logging/ItablesTest.java Wed Mar 02 17:08:26 2016 +0300
+++ b/hotspot/test/runtime/logging/ItablesTest.java Wed Mar 02 10:59:25 2016 -0500
@@ -49,7 +49,6 @@
output.shouldContain("invokespecial resolved method: caller-class:ClassB");
output.shouldContain("invokespecial selected method: resolved-class:ClassB");
output.shouldContain("invokeinterface selected method: receiver-class");
- output.shouldContain("Resolving: klass: ");
output.shouldHaveExitValue(0);
pb = ProcessTools.createJavaProcessBuilder("-Xlog:itables=trace", "ItablesVtableTest");