hotspot/src/os/solaris/vm/os_solaris.cpp
changeset 8106 19106a0203fb
parent 7901 ea3d83447861
child 8476 7e34c2d4cf9b
child 8330 5f6046a69677
equal deleted inserted replaced
8076:96d498ec7ae1 8106:19106a0203fb
  4219 // the sa_flags field passed to sigaction() includes SA_SIGINFO and SA_RESTART.
  4219 // the sa_flags field passed to sigaction() includes SA_SIGINFO and SA_RESTART.
  4220 //
  4220 //
  4221 // Note that the VM will print warnings if it detects conflicting signal
  4221 // Note that the VM will print warnings if it detects conflicting signal
  4222 // handlers, unless invoked with the option "-XX:+AllowUserSignalHandlers".
  4222 // handlers, unless invoked with the option "-XX:+AllowUserSignalHandlers".
  4223 //
  4223 //
  4224 extern "C" int JVM_handle_solaris_signal(int signo, siginfo_t* siginfo, void* ucontext, int abort_if_unrecognized);
  4224 extern "C" JNIEXPORT int
       
  4225 JVM_handle_solaris_signal(int signo, siginfo_t* siginfo, void* ucontext,
       
  4226                           int abort_if_unrecognized);
  4225 
  4227 
  4226 
  4228 
  4227 void signalHandler(int sig, siginfo_t* info, void* ucVoid) {
  4229 void signalHandler(int sig, siginfo_t* info, void* ucVoid) {
  4228   JVM_handle_solaris_signal(sig, info, ucVoid, true);
  4230   JVM_handle_solaris_signal(sig, info, ucVoid, true);
  4229 }
  4231 }