JDK-8009232 : Improve stats gathering code for reference processor
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2013-02-28
  • Updated: 2013-06-26
  • Resolved: 2013-03-18
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 Other
7u40Fixed hs24Fixed
The current stats gathering code can be improved to not rely on an instance variable, instead the ReferenceProcessorStats object can be put on the stack and copied out each time process_discovered_references is called.
Verified in JDK:1.7.0_40 b28 HS:24.0 b46

Bug could be verified by: closed/com/oracle/jfr/gc/TestReferenceStatisticsEvent.java