Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8259070

Add jcmd option to dump CDS

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 17
    • Fix Version/s: 17
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b19
    • OS:
      generic

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              minqi Yumin Qi
              Reporter:
              minqi Yumin Qi
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: