JDK-8173335 : Improve logging for j.l.ref.reference processing
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2017-01-25
  • Updated: 2017-11-03
  • Resolved: 2017-08-11
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 10
10 b21Fixed
Related Reports
Relates :  
Description
Logging for the reference processing phase is very limited: it only prints total time and the amount of discovered references.

It would be interesting to have the following metrics too:

- how many references were actually notified (cleared or to be kept alive)
- how long do the phases themselves take, i.e. phase1/2/3 and how is their work distributed
- how long does work balancing (in case of parallel processing) take

Comments
[~sangheki] Do you have a flight recording with the new event GCPhasePauseLevel4 available? We would like to view in it Java Mission Control. EDIT: We have found a recording with the new events included. Do the event correspond to the reference processing phase?
03-11-2017