JDK-8009232 : Improve stats gathering code for reference processor
  • Type: Enhancement
  • Status: Closed
  • Resolution: Fixed
  • Component: hotspot
  • Sub-Component: gc
  • Priority: P3
  • Submit Date: 2013-02-28
  • Updated Date: 2013-06-26
  • Resolved Date: 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 Availabitlity Release.

To download the current JDK release, click here.
JDK 7 Other
7u40Fixed hs24Fixed
Description
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.
Comments
Verified in JDK:1.7.0_40 b28 HS:24.0 b46
2013-06-05

Bug could be verified by: closed/com/oracle/jfr/gc/TestReferenceStatisticsEvent.java
2013-05-30