JEP 528 (candidate, not yet targeted to a release) proposes extending jcmd to work on core dumps from crashed JVMs, not just live ones. By recreating the JVM's memory image and executing native code to interpret its data structures, most of jcmd's diagnostic commands (26 listed) can run post-mortem without any changes to the commands themselves. Limitations include: same OS and CPU architecture required, Linux/Windows only for now, and Java-implemented commands (like Thread.dump_to_file) won't work. No JDK version lock-in between the crashed and analyzing JDK, as long as both include JEP 528.
Sort: