Mustgather: Gathering data for a Java application crash problem on Windows
If your Java application crashes on a Windows operating system, there are a number of diagnostic data files that are useful for diagnosing the problem. This mustgather document describes about the diagnostic data files to be collected and the procedure to collect the same.
Resolving the problem
The following set of diagnostic data files will be generated during the time of the java application crash:
2. Core dumps
3. Snap traces
4. JIT dumps (For Java 7.1 and Java 8 releases only)
5. Application logs (stdout, stderr)
For these diagnostic data files to be created, check that the system is configured correctly as per setup document.
NOTE: From Java 7.1 and Java 8 releases onwards, Just Intime Compiler(JIT) generates JIT diagnostic dumps on general protection fault(GPF) and abort events.
Please collect the diagnostic data files generated during the time of the java application crash as per the below steps:
1. Collect the javacore, core dump, snap trace and JIT dump generated.
Please note that all the javacore, core dump, snap trace and JIT dump generated can be found in the current path and the names of them will follow the below format:
Javacore : javacore.<time stamp>.<id>.txt
Core dump : core.<time stamp>.<id>.dmp
Snap trace file : snap.<time stamp>.<id>.trc
JIT dump : jitdump.<time stamp>.<id>.dmp
For Java 6 and 5 SDK releases,
Run the JExtract tool against the generated core dump using the following command:
For 64bit JVM enabled with -Xcompressedrefs option, please use
<installpath>/jre/bin/jextract -J-Xcompressedrefs [coredump]
Save the resulting archive file, which has a name in the format of
From Java™ 7 SDKs on Windows platforms, you do not need to run the jextract utility.
In case, if the core dump is not generated as expected using -Xdump option as in setup, please refer and use the Microsoft ADPlus tool to generate the core dump at the time of crash as appropriate and send us for diagnosing the problem.
2.Collect the console logs, such as standard out and standard error logs, which are generated by default.
After collecting all the above diagnostic data files, you can submit them for help with diagnosing the problem.
More support for:
Runtimes for Java Technology
Software version: 5.0, 6.0, 6.1, 7.0, 7.1, 8.0
Operating system(s): Windows
Software edition: J2SE
Reference #: 1222654
Modified date: 16 November 2016