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

Implement -XX:+CDSLoadedClasses

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Unresolved
    • P4
    • tbd
    • None
    • hotspot

    Description

      This is the first step of JDK-8315737

      - If -XX:+CDSLoadedClasses is specified during CDS archive assembly, marked all applicable classes in the archive that should be loaded immediately upon application start (aka "preloaded classes").
      - At application start, if its CDS archive(s) were created with -XX:+CDSLoadedClasses, disable CDS completely when an incompatible configuration is detected (e.g., if JVMTI ClassFileLoadHook is enabled).
      - When the three main class loaders (boot, platform, app) are created, add preloaded classes to these loaders.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: