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

Error in PrintReferenceGC legacy VM options translation table

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9, 10, 11.0.3-oracle, 13
    • Fix Version/s: 13
    • Component/s: docs
    • Labels:

      Backports

        Description

        In the guide showing how to convert legacy (JDK8) VM options into new option values (JDK9+) there is a bug for the PrintReferenceGC entry. Its replacement should be "-Xlog:gc+ref*=debug" instead of "-Xlog:ref*=debug"

        Here is a link for the JDK9 documentation:

        https://docs.oracle.com/javase/9/tools/java.htm#GUID-BE93ABDC-999C-4CB5-A88B-1994AAAC74D5__CONVERTGCLOGGINGFLAGSTOXLOG-A5046BD1

        The same error is also in the JDK10 documentation at

        https://docs.oracle.com/javase/10/tools/java.htm#GUID-BE93ABDC-999C-4CB5-A88B-1994AAAC74D5__CONVERTGCLOGGINGFLAGSTOXLOG-A5046BD1

        and presumably in the upcoming JDK11 documentation at (guessing)

        https://docs.oracle.com/javase/11/tools/java.htm#GUID-BE93ABDC-999C-4CB5-A88B-1994AAAC74D5__CONVERTGCLOGGINGFLAGSTOXLOG-A5046BD1

        Of course the error is also in the current "JDK12" documentation. Please fix in all of these instances if possible.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  cwayne Clifford Wayne
                  Reporter:
                  tschatzl Thomas Schatzl
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Due:
                    Created:
                    Updated:
                    Resolved: