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

Error in PrintReferenceGC legacy VM options translation table

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 13
    • 9, 10, 11.0.3-oracle, 13
    • docs

        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.

              cwayne Clifford Wayne (Inactive)
              tschatzl Thomas Schatzl
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: