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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b151

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Due:
              Created:
              Updated:
              Resolved: