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

Store the Configuration for system modules into CDS archive

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b07

      Backports

        Description

        The Configuration for the boot layer created by ModuleBootstrap.boot() (step 4) is a good candidate for archiving. Performance measurement shows archiving the Configuration gives another 1% - 1.5% startup gain when running HelloWorld from -cp.

        Note: "step 4" can be found here in the source code
        http://hg.openjdk.java.net/jdk/jdk/file/5afd528675f6/src/java.base/share/classes/jdk/internal/module/ModuleBootstrap.java#l345

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                jiangli Jiangli Zhou
                Reporter:
                jiangli Jiangli Zhou
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: