Logging JVM exit (in context of JEP 486)

Michael Bien mbien42 at gmail.com
Thu Oct 10 06:57:13 UTC 2024


Hello,

Calls to System.exit() can be currently tracked by setting the 
"java.lang.Runtime" logger to DEBUG (it even dumps the stack trace which 
is nice). However, I couldn't find an equivalent for 
Runtime.getRuntime().halt(). Are there plans to add more logging to 
debug common JVM exit events?

(if this was already discussed elsewhere - super sorry wasn't able to 
find anything)

best regards,

michael




More information about the jdk-dev mailing list