JDK-6878481 : Add performance counters in the JDK
  • Type: Enhancement
  • Component: other-libs
  • Sub-Component: other
  • Affected Version: 7
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2009-09-02
  • Updated: 2010-04-02
  • Resolved: 2009-09-26
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 b73Fixed
Related Reports
Relates :  
Relates :  
Description
JDK has been instrumented for performance measurement and typically output the data to the console or a log file.  HotSpot has the jvmstat perf buffer that currently collects a list of perf counters output from HotSpot.  The jvmstat perf buffer is created by default.  Adding perf counters from the JDK will make the metrics always available and also make the data correlation much easier from a single source instead of data from multiple source (perfdata, log file, stdout, etc).

Comments
EVALUATION Ran the performance benchmarks on solaris-i586 and windows-i586 (with /usepmtimer added in boot.ini) amd the fix has insignificant performance impact.
11-09-2009

EVALUATION This CR will add a simple mechanism to add PerfCounter for JDK use and also add a few perf counter about class loading.
02-09-2009