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

jstat prints debug message when debugging is disabled

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 10
    • 10
    • hotspot
    • None
    • svc
    • b36

    Description

      jstat is designed to handle the case where a perf counter doesn't exist. In the output jstat will then print a "-" instead of the perf counter value to indicate that the counter doesn't exist. However, jstat also prints an unnecessary message, which clobbers the output. This message might still be useful for debugging, but should only be printed when jstat is running with debug messages enabled (-J-DExpressionResolver.debug=true).

      Attachments

        Activity

          People

            pliden Per Liden (Inactive)
            pliden Per Liden (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: