- 
    Type:
Enhancement
 - 
    Resolution: Fixed
 - 
    Priority:
  P4                     
     - 
    Affects Version/s: 17
 - 
    Component/s: hotspot
 
- 
        b19
 - 
        generic
 
                    Supply a jcmd option to dump CDS archive during application running. This has the benefits that
1. Users don't need to run with -XX:DumpLoadedClassList=<file> first, then run again with -Xshare:dump
2. Users can chose a moment when they think it is good to dump the archive, that is, a stable state which contains the most classes needed in CDS.
3. For storing MDO in CDS, a moment when most methods already compiled.
1. Users don't need to run with -XX:DumpLoadedClassList=<file> first, then run again with -Xshare:dump
2. Users can chose a moment when they think it is good to dump the archive, that is, a stable state which contains the most classes needed in CDS.
3. For storing MDO in CDS, a moment when most methods already compiled.
- csr for
 - 
                    
JDK-8259798 Add jcmd option to dump CDS
-         
     - Closed
 
 -         
 
- relates to
 - 
                    
JDK-8261455 Automatically generate the CDS archive if necessary
-         
     - Resolved
 
 -         
 - 
                    
JDK-8277242 CDS docs should discuss dumping with jcmd VM.cds
-         
     - Closed
 
 -         
 - 
                    
JDK-8265393 VM crashes if both -XX:+RecordDynamicDumpInfo and -XX:SharedArchiveFile options are specified
-         
     - Resolved
 
 -         
 - 
                    
JDK-8280543 Update the "java" and "jcmd" tool specification for CDS
-         
     - Resolved
 
 -         
 
             (2 links to)