This article describes how the Oracle HotSpot VM uses Signals internally and describes a way to add custom signal handlers (Signal Chaining). This cannot be done using Java language but requires own native libraries to hook into the JVM.