Use different default CDS archives depending on UseCompressOops

XMLWordPrintable

    • b24

      Since JDK-8232069, CDS can support -XX:-UseCompressedOops. However, there's only a single default CDS archive inside a JDK image, so you must choose whether to enable UseCompressedOops for the default archive when creating a JDK image.

      We should make it possible to use two default CDS archives:

      $JAVA_HOME/lib/server/classes.jsa
      $JAVA_HOME/lib/server/classes_nocoops.jsa

      If -XX:-UseCompressedOops is specified, we load from the _nocoops.jsa file instead.

            Assignee:
            Yumin Qi
            Reporter:
            Ioi Lam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: