JDK-8298702 : Wrong parameter name comment in G1Policy::revise_young_list_target_length
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 21
  • Priority: P4
  • Status: Resolved
  • Resolution: Not an Issue
  • Submitted: 2022-12-13
  • Updated: 2022-12-20
  • Resolved: 2022-12-20
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
tbdResolved
Related Reports
Relates :  
Relates :  
Description
G1Policy::revise_young_list_target_length calls update_young_length_bounds, which has a bool third argument.  The comment in that call indicating the parameter name is incorrect - it's "need_one_eden_region bug" should be "after_gc".  The parameter name was changed during review of JDK-8297186, and this call was not updated.

Comments
No longer an issue because JDK-8298215 removed the relevant argument.
20-12-2022