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

eliminate the need of ModuleLoaderMap.dat for CDS

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 10
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b31

      Description

      In jake, there's a ModuleLoaderMap.dat being generated at build time and is packaged as part of the bootmodules.jimage.

      During CDS shared archive dumping, the vm code makes use of the ModuleLoaderMap.dat to obtain the defining class loader type based on the module name.

      This RFE is to eliminate the ModuleLoaderMap.dat. An idea is to find out the defining class loader type during runtime when a class is being loaded. Therefore, we don't need to store the defining class loader type during dump time.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ccheung Calvin Cheung
                Reporter:
                ccheung Calvin Cheung
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: