There are customers who use native subsystems using JNI. Some of these subsystems use signal handlers for their own memory management. Though it is documented on how to use the libjsig.so, to debug a complicated application is not very easy if there is an user error. We must provided better diagnostics and checks something like Xcheck:jni to trace the installation of signal handlers. Thus we should: 1. Provide a VM launcher flag to specify LD_PRELOAD vs. the environment variable. So customers have complicated startup scripts which overwrite environment variables. 2. Provide a mechanism like -Xcheck:signal to trace signal handler interpositions etc.
|