JDK-6951661 : Eliminate jvmstat dependency on sun.management.counter
  • Type: Bug
  • Component: core-svc
  • Sub-Component: tools
  • Affected Version: 7
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2010-05-11
  • Updated: 2010-06-09
  • Resolved: 2010-06-09
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 7
7 b97Fixed
Related Reports
Relates :  
Description
jvmstat has references to sun.management.counter.Units and sun.management.counter.Variability classes.  We shall eliminate this unnecessary dependency.

sun.jvmstat.monitor.AbstractMonitor      -> sun.management.counter.Units (sun.management)
sun.jvmstat.monitor.AbstractMonitor      -> sun.management.counter.Variability (sun.management)
sun.jvmstat.monitor.Monitor              -> sun.management.counter.Units (sun.management)
sun.jvmstat.monitor.Monitor              -> sun.management.counter.Variability (sun.management)
sun.jvmstat.perfdata.monitor.PerfByteArrayMonitor -> sun.management.counter.Units (sun.management)
sun.jvmstat.perfdata.monitor.PerfByteArrayMonitor -> sun.management.counter.Variability (sun.management)
sun.jvmstat.perfdata.monitor.PerfIntegerMonitor -> sun.management.counter.Units (sun.management)
sun.jvmstat.perfdata.monitor.PerfIntegerMonitor -> sun.management.counter.Variability (sun.management)
sun.jvmstat.perfdata.monitor.PerfLongMonitor -> sun.management.counter.Units (sun.management)
sun.jvmstat.perfdata.monitor.PerfLongMonitor -> sun.management.counter.Variability (sun.management)
sun.jvmstat.perfdata.monitor.PerfStringConstantMonitor -> sun.management.counter.Variability (sun.management)
sun.jvmstat.perfdata.monitor.PerfStringMonitor -> sun.management.counter.Units (sun.management)
sun.jvmstat.perfdata.monitor.PerfStringMonitor -> sun.management.counter.Variability (sun.management)
sun.jvmstat.perfdata.monitor.PerfStringVariableMonitor -> sun.management.counter.Variability (sun.management)
sun.jvmstat.perfdata.monitor.v1_0.PerfDataBuffer -> sun.management.counter.Units (sun.management)
sun.jvmstat.perfdata.monitor.v1_0.PerfDataBuffer -> sun.management.counter.Variability (sun.management)
sun.jvmstat.perfdata.monitor.v2_0.PerfDataBuffer -> sun.management.counter.Units (sun.management)
sun.jvmstat.perfdata.monitor.v2_0.PerfDataBuffer -> sun.management.counter.Variability (sun.management)

Comments
SUGGESTED FIX http://hg.openjdk.java.net/jdk7/tl/jdk/rev/05c9ff89bcdc
18-05-2010

EVALUATION We can eliminate jvmstat -> management dependency by making a copy of Units and Variability class in the sun.jvmstat.monitor package.
11-05-2010