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

Archive full module graph in CDS

XMLWordPrintable

    • b16

      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

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

              Created:
              Updated:
              Resolved: