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

BUILD_CDS_ARCHIVE is disabled when both minimal and server are enabled

XMLWordPrintable

      When I configure with --with-jvm-variants='minimal,server' , spec.gmk ends up having "BUILD_CDS_ARCHIVE := false". So even if I run the server VM, CDS is not available (because the classlist is not in the JDK image).

      $ java -Xshare:dump
      Error occurred during initialization of VM
      Loading classlist failed: No such file or directory

      $ java -server -Xshare:dump
      Error occurred during initialization of VM
      Loading classlist failed: No such file or directory

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

              Created:
              Updated:
              Resolved: