8150746: runtime/logging/ItablesTest.java fails with: java.lang.RuntimeException: 'Resolving: klass: ' missing from stdout/stderr
Deleted logging line from code and test because unnecessary Reviewed-by: twisti, coleenp
This commit is contained in:
parent
9035e84805
commit
1c5a7710e3
@ -762,14 +762,6 @@ void InterpreterRuntime::resolve_invoke(JavaThread* thread, Bytecodes::Code byte
|
||||
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() ==
|
||||
|
@ -49,7 +49,6 @@ public class ItablesTest {
|
||||
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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user