JDK-8284953 : Fix stale comments in G1CollectedHeap::ref_processing_init
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 19
  • Priority: P4
  • Status: New
  • Resolution: Unresolved
  • Submitted: 2022-04-18
  • Updated: 2022-04-19
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.
Other
tbdUnresolved
Related Reports
Relates :  
Description
ref_processing_init has a block comment purporting to describe how reference processing in G1 works.  But there are some parts of this comment that are out of date.

It says the ref processors need to "span" the entire heap.  But that's no longer true because of JDK-8201492.

For the STW reference processor it says full GC discovery and processing are non-MT, but that's not been true for some time.