I would like to be able to analyze a java(https://bit.ly/2DWZfT9) core dump in the same manner that one would analyze a core dump from a process on a UNIX system. However, I am not interested in having the information from the process, only the JVM level stack, heap, etc. The core dump would contain information on Java methods, variables, etc.
How can I tell the JVM to build a Java-level core dump?
What is a good tool to analyze said dump?
For instance, if this code was executed
public static void foo() {
//trigger core dump
}
public static void main(String args[]) {
foo();
}
I would get a core dump showing a stack of main-->foo