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

jstat prints debug message when debugging is disabled

XMLWordPrintable

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

      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).

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

              Created:
              Updated:
              Resolved: