JDK-6526682 : JConsole shows negative CPU Usage
  • Type: Bug
  • Component: tools
  • Sub-Component: jconsole
  • Affected Version: 6,7
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux_2.6,windows_xp
  • CPU: x86
  • Submitted: 2007-02-20
  • Updated: 2013-06-13
  • Resolved: 2013-06-03
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
8 b94Fixed
Related Reports
Relates :  
While monitoring of CPU Usage jconsole shows negtive CPU Usage. 

.csv file and screenshot of such situation are atteched.

How to reproduce:

Start jconsole and attach it to any process(Java2D demo in my case).
Negative cpu usage will be shown on cpu usage monitor afrter some monitoring time.

My Machine:
Processor:  Intel(R) Pentium(R) D CPU 3.20GHz x2 
OS:         Gentoo Linux

On slow machines like P-III(~800 MHz) cpu monotor shows correct values.

I changed my mind, the UI should be robust enough to fix data from the Mxbean.

could not see any problem here, and the data is taken from the OperatingSystemMXBean, so if this arises anywhere, a bug should be opened on that.