» Back to table of contents

using HP-UX signals

HP-UX defines several signal interfaces that allow a process to specify the action taken upon receipt of a signal. The man pages sigaction(2), signal(2), sigvector(2), bsdproc(2), and sigset(2V) describe the various HP-UX signal interfaces. The man page signal(5) describes the HP-UX signals.

There are two HP-UX signal types, asynchronous and synchronous. Asynchrous signals are not usually attributable to execution of code; synchronous signals are usually attributable to execution of code.

Asynchronous signals include the keyboard-generated signals such as SIGINT and SIGQUIT, and the sent-to-process signals such as SIGHUP. Synchronous signals include hardware generated signals such as SIGSEGV, SIGBUS, and SIGFPE and the sent-to-process signals such as SIGPIPE and SIGSYS.

hp-ux signals and the JVM

The information below describes the HP-UX signals handled by the Java™ virtual machine (JVM) and describes the effect once the JVM receives the signal.

The HotSpot VM uses the following signals:
  • SIGSEGV, SIGALRM, SIGPIPE, SIGBUS, SIGILL, SIGFPE, SIGUSR1, SIGQUIT
  • and the non- standard (-XX) signals: -XX:+UseSIGUSR2 and - XX:+AllowUserSignalHandlers

Note that non-standard signals are subject to change in future releases.

The Classic VM uses the following signals. (It does not use non-standard signals.)
  • SIGSEGV, SIGALRM, SIGPIPE, SIGBUS, SIGILL, SIGFPE, SIGUSR1, SIGQUIT

» Please let us know additional information you'd like to see in the programmer's guide.

Java™ and all Java-based trademarks and logos are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries. Hewlett-Packard is independent of Sun Microsystems, Inc.