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

eliminate the need of ModuleLoaderMap.dat for CDS

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 10
    • 9
    • hotspot
    • b31

      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.

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

              Created:
              Updated:
              Resolved: