To reproduce the issue:
1. Start a java app.
2. While the app is still running, use jcmd to create a dynamic CDS archive:
e.g. jcmd <pid> VM.cmd dynamic_dump
3. Run the app again with the dynamic CDS archive and the -XX:+RecordDynamicDumpInfo option:
e.g. java -XX:+RecordDynamicDumpInfo -XX:SharedArchiveFile=java_pid<pid>_dynamic.jsa -cp myApp.jar myApp
- duplicates
-
JDK-8265392 VM crashes if both -XX:+RecordDynamicDumpInfo and -XX:SharedArchiveFile options are specified
-
- Closed
-
- relates to
-
JDK-8259070 Add jcmd option to dump CDS
-
- Resolved
-