How can I create a thread and core dump on the JVM crash? Does any JVM argument exist which creates a file with these dumps when JVM crash suddenly?
In my case, I need to prepare Java Virtual Machine to create that file.
How can I create a thread and core dump on the JVM crash? Does any JVM argument exist which creates a file with these dumps when JVM crash suddenly?
In my case, I need to prepare Java Virtual Machine to create that file.
As stated above, this is solution for OOM.
For other fatal errors jvm provide -XX:OnError
Option.