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:
Coleen Phillimore 2019-11-11 12:11:34 -05:00
parent 6fa1bf99e2
commit b4d28f36fc
10 changed files with 31 additions and 47 deletions

View file

@ -4789,15 +4789,11 @@ void os::Linux::install_signal_handlers() {
// Log that signal checking is off only if -verbose:jni is specified.
if (CheckJNICalls) {
if (libjsig_is_loaded) {
if (PrintJNIResolving) {
tty->print_cr("Info: libjsig is activated, all active signal checking is disabled");
}
log_debug(jni, resolve)("Info: libjsig is activated, all active signal checking is disabled");
check_signals = false;
}
if (AllowUserSignalHandlers) {
if (PrintJNIResolving) {
tty->print_cr("Info: AllowUserSignalHandlers is activated, all active signal checking is disabled");
}
log_debug(jni, resolve)("Info: AllowUserSignalHandlers is activated, all active signal checking is disabled");
check_signals = false;
}
}