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

Add jcmd option to dump CDS

    XMLWordPrintable

Details

    • b19
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: