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

convert some CDS dump time warning and error messages to informational messages which will be printed with -XX:+PrintSharedSpaces

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • hotspot
    • b151

      The JVM prints a warning message if there is an unsupported option at CDS dump time.

        bin/java -Xshare:dump --upgrade-module-path .

        "Java HotSpot(TM) 64-Bit Server VM warning: the --upgrade-module-path option is ignored when dumping the shared archive"

        bin/java -Xshare:dump --patch-module=java.naming=hello.jar

        "Java HotSpot(TM) 64-Bit Server VM warning: the --patch-module option is ignored when dumping the shared archive"

      The warning message should not be printed by default. It should only be printed with -XX:+PrintSharedSpaces.

            ccheung Calvin Cheung
            jiangli Jiangli Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: