-Xlog:gc,safepoint explaination typo

XMLWordPrintable

    • Type: Bug
    • Resolution: Not an Issue
    • Priority: P4
    • None
    • Affects Version/s: 17
    • Component/s: hotspot
    • generic
    • generic

      ADDITIONAL SYSTEM INFORMATION :
      Java 9+

      A DESCRIPTION OF THE PROBLEM :
      On https://docs.oracle.com/en/java/javase/17/docs/specs/man/java.html#convert-gc-logging-flags-to-xlog it says:

      "`-Xlog:gc,safepoint`
      Logs messages tagged either with the gc or safepoint tags, both using the info level, to stdout, with default decorations. Messages tagged with both gc and safepoint won’t be logged."

      I think the "won't" is a typo. I would expect messages tagged with both gc and safepoint to get logged here.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      * Go to https://docs.oracle.com/en/java/javase/17/docs/specs/man/java.html#convert-gc-logging-flags-to-xlog
      * Search for "-Xlog:gc,safepoint"

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      I'd expect it to say:

      "`-Xlog:gc,safepoint`
      Logs messages tagged either with the gc or safepoint tags, both using the info level, to stdout, with default decorations. Messages tagged with both gc and safepoint will be logged."
      ACTUAL -
      "`-Xlog:gc,safepoint`
      Logs messages tagged either with the gc or safepoint tags, both using the info level, to stdout, with default decorations. Messages tagged with both gc and safepoint won’t be logged."

            Assignee:
            Unassigned
            Reporter:
            Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: