mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
8232735: Convert PrintJNIResolving to Unified Logging
Converted the existing output at debug level because it is noisy Reviewed-by: iklam, dholmes
This commit is contained in:
parent
6fa1bf99e2
commit
b4d28f36fc
10 changed files with 31 additions and 47 deletions
|
@ -34,6 +34,8 @@
|
|||
#include "jvmci/jvmciCompilerToVM.hpp"
|
||||
#include "jvmci/jvmciCodeInstaller.hpp"
|
||||
#include "jvmci/jvmciRuntime.hpp"
|
||||
#include "logging/log.hpp"
|
||||
#include "logging/logTag.hpp"
|
||||
#include "memory/oopFactory.hpp"
|
||||
#include "memory/universe.hpp"
|
||||
#include "oops/constantPool.inline.hpp"
|
||||
|
@ -2296,11 +2298,9 @@ C2V_VMENTRY_NULL(jlongArray, registerNativeMethods, (JNIEnv* env, jobject, jclas
|
|||
method->name_and_sig_as_C_string(), p2i(method->native_function()), p2i(entry)));
|
||||
}
|
||||
method->set_native_function(entry, Method::native_bind_event_is_interesting);
|
||||
if (PrintJNIResolving) {
|
||||
tty->print_cr("[Dynamic-linking native method %s.%s ... JNI]",
|
||||
method->method_holder()->external_name(),
|
||||
method->name()->as_C_string());
|
||||
}
|
||||
log_debug(jni, resolve)("[Dynamic-linking native method %s.%s ... JNI]",
|
||||
method->method_holder()->external_name(),
|
||||
method->name()->as_C_string());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue