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

CPU usage graph is inappropriately quantized

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • 7
    • 6
    • tools
    • None
    • generic
    • generic

      JConsole includes a graph of CPU usage in JDK 6. The plotted values are in per cent. The instantaneous value shown at the bottom of this graph has a precision of two decimal places in the per cent (for example, 7.98%) but the actual value that is graphed is rounded to the nearest integer per cent (for example, 8%). This has the result of showing an artificially stepped graph. The stepping does not correspond to anything that is really happening in the monitored JVM.

      It seems that the graphed value should either be a float-point value or (if we only know how to graph integers) it should be (say) 100 times the real per cent value that is then reduced back into a per cent. For example, we could tell the plotter to graph 798 but show that as 7.98%.

            leifs Leif Samuelsson (Inactive)
            emcmanus Eamonn McManus
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: