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

-Xlog:help "=debug" example is not quite accurate

    Details

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

      Description

      In this snippet of -Xlog:help output:

       -Xlog:gc+ref=debug
               Log messages tagged with both 'gc' and 'ref' tags, using 'debug' level, to stdout, with default decorations.
               (Messages tagged only with one of the two tags will not be logged.)

      The "using 'debug' level" part is accurate only if there are no
      calls to log_info(gc, ref)("...") in the system. David Holmes
      suggested that this wording might be better:

          "using 'debug' level" => "using up to 'debug' level"

      and I agree that would be a more inclusive statement
      since we could have output at the "error", "warning",
      "info" and "debug" levels in the above example.

        Attachments

          Activity

            People

            • Assignee:
              mlarsson Marcus Larsson (Inactive)
              Reporter:
              dcubed Daniel Daugherty
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: