8150746: runtime/logging/ItablesTest.java fails with: java.lang.RuntimeException: 'Resolving: klass: ' missing from stdout/stderr
authorrprotacio
Wed, 02 Mar 2016 10:59:25 -0500
changeset 36392 f2f1892bfa98
parent 36388 d202f114e297
child 36393 45a4bd3cfc82
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
hotspot/src/share/vm/interpreter/interpreterRuntime.cpp
hotspot/test/runtime/logging/ItablesTest.java
--- 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");