JDK-6471559 : JConsole charts should accept small values (floating point)
  • Type: Bug
  • Component: tools
  • Sub-Component: jconsole
  • Affected Version: 6
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic,windows_xp
  • CPU: generic,x86
  • Submitted: 2006-09-15
  • Updated: 2011-03-08
  • Resolved: 2011-03-08
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.
JDK 6 JDK 7
6u4Fixed 7 b05Fixed
Related Reports
Duplicate :  
Description
A DESCRIPTION OF THE REQUEST :
Currently the charts that are shown when you double-click a value for your custom MBeans only draws integer values.

The problem is that if you, for example, have a double attribute that only takes values between 0 and 1. Since the chart only accepts the integer value of the attribute. You get a chart with a straigth line with the constant value 0


JUSTIFICATION :
It's quite common to have values that only lie between two consecutive integers or in a very small interval.

Comments
EVALUATION The Plotter class will now be able to handle decimals, using integer arithmetic. For example, a float value can be multiplied by 100 and then plotted with two decimals.
15-11-2006

EVALUATION The Plotter class need to be updated to deal with floating point, and the mbeans attribute viewers need to take advantage of that.
15-09-2006