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

Archive full module graph in CDS

    Details

    • Subcomponent:
    • Resolved In Build:
      b16

      Description

      If CDS dump time and runtime have the same modules settings, e.g., we have the same values for the following options between dump time and runtime:

          --module-path
          --upgrade-module-path
          --add-modules
          --limit-modules
          --add-exports
          --add-reads
          --patch-module

      (or, as a simplified case, none of the above options were given in dump time or run time), we can re-use the module graph computed at dump time. I.e., the bootLayer returned by ModuleBootstrap::boot():

      http://hg.openjdk.java.net/jdk/jdk/file/1cfd2ca0b769/src/java.base/share/classes/jdk/internal/module/ModuleBootstrap.java#l461

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                iklam Ioi Lam
                Reporter:
                iklam Ioi Lam
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: