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

UseAppCDS obsolete message is confusing

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 11
    • Fix Version/s: 11
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b18
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        When the UseAppCDS command-line option was obsoleted, using the standard appropriate obsolete message, the standard message is confusing to anyone who is currently using UseAppCDS:

        Sample:
        java -XX:+UseAppCDS -Xshare:off XX:DumpLoadedClassList=zprint.filter.classlist -cp "$filter_path" zprint.main < helloworld.clj > /dev/null

        OpenJDK 64-Bit Server VM warning: Ignoring option UseAppCDS; support was removed in 11.0

        Between Matthew Gilliard's blog and other sources, UseAppCDS is currently in use by customers (e.g. the clojure community).

        It would be helpful to add a message which informs users that -XShare:{on, auto,off) replaces this. Perhaps the alias mechanism could be used for this?

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                ccheung Calvin Cheung
                Reporter:
                acorn Karen Kinnear (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: