src/os/solaris/vm/os_solaris.cpp

changeset 2507
d70fe6ab4436
parent 2450
34d64ad817f4
child 2567
850b2295a494
child 2584
da091bb67459
equal deleted inserted replaced
2497:3582bf76420e 2507:d70fe6ab4436
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 }

mercurial