Using Javadump
Java dumps are produced automatically when the VM ends unexpectedly, capturing diagnostic data about the VM and the Java application that was running. You can also trigger the production of a Java dump by calling the Dump API or specifying the -Xdump:java option on the command line.
To learn more about the content of a Java dump file and how to examine one to assist with problem diagnosis, see Java dump.