IBM User Guide for Java V7 on Windows > Developing Java applications > How the JVM processes signals
Signals used by the JVM
The types of signals are Interrupts, and Controls.
Table 1 shows the signals that are used by the JVM. The signals are grouped in the table by type or use, as follows:
- Exceptions
- The operating system synchronously raises an appropriate exception signal whenever an unrecoverable condition occurs.
- Errors
- The JVM raises a SIGABRT if it detects a condition from which it cannot recover.
- Interrupts
- Interrupt signals are raised asynchronously, from outside a JVM process, to request shut down.
- Controls
- Other signals that are used by the JVM for control purposes.
Table 1. Signals used by the JVM Signal Name Signal type Description Disabled by -Xrs Disabled by -Xrs:sync SIGINT (2) Interrupt Interactive attention (CTRL-C). JVM exits normally. Yes No SIGTERM (15) Interrupt Termination request. JVM will exit normally. Yes No SIGBREAK Control A break signal from a terminal. By default, this triggers a Javadump. Yes No Note: A number supplied after the signal name is the standard numeric value for that signal.
The IBM JVM uses structured exception handling (32-bit JVM only), the AddVectoredExceptionHandler() (64-bit JVM only), and the SetConsoleCtrlHandler() APIs. These are all disabled with -Xrs, however, only structured exception handling and the use of the AddVectoredExceptionHandler() API are disabled by -Xrs:sync. -Xnosigchain is ignored on Windows.
Use the -Xrs (reduce signal usage) option to prevent the JVM from handling most signals. For more information, see
Oracle's Javaâ„¢ application launcher page.
The signals 2 (SIGINT) and 15 (SIGTERM) on JVM threads causes the JVM to shut down; therefore, an application signal handler should not attempt to recover from this signal unless it no longer requires the JVM.
Parent: How the JVM processes signals
Error 404 - Not Found Error 404 - Not Found
The document you are looking for may have been removed or re-named. Please contact the web site owner for further assistance.