hotspot/src/os/solaris/vm/os_solaris.cpp
changeset 10561 bf51fe78a9ad
parent 10494 3f347ed8bd3c
child 10739 91935236600e
--- a/hotspot/src/os/solaris/vm/os_solaris.cpp	Mon Sep 19 12:18:46 2011 -0700
+++ b/hotspot/src/os/solaris/vm/os_solaris.cpp	Thu Sep 22 16:48:41 2011 +0100
@@ -4592,14 +4592,19 @@
   }
 
   // We don't activate signal checker if libjsig is in place, we trust ourselves
-  // and if UserSignalHandler is installed all bets are off
+  // and if UserSignalHandler is installed all bets are off.
+  // Log that signal checking is off only if -verbose:jni is specified.
   if (CheckJNICalls) {
     if (libjsig_is_loaded) {
-      tty->print_cr("Info: libjsig is activated, all active signal checking is disabled");
+      if (PrintJNIResolving) {
+        tty->print_cr("Info: libjsig is activated, all active signal checking is disabled");
+      }
       check_signals = false;
     }
     if (AllowUserSignalHandlers) {
-      tty->print_cr("Info: AllowUserSignalHandlers is activated, all active signal checking is disabled");
+      if (PrintJNIResolving) {
+        tty->print_cr("Info: AllowUserSignalHandlers is activated, all active signal checking is disabled");
+      }
       check_signals = false;
     }
   }