JDK-8364925 : G1: Improve program flow around incremental collection set building
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2025-08-06
  • Updated: 2025-08-08
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
Causes :  
Description
The code around incremental collection set building is very old, and due to changes like JDK-8343782 changes were done in places that do not really fit

In detail
- move implementations of incremental collection set building helpers out of header file
- _selected_group_cur_length is unnecessary and can be replaced by an (inexpensive) call
- some members about incremental building updated outside of the start/continue/stop_incremental_build() method
- assertions around G1CSetBuildType are out of date

Cleanup.
Comments
A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/26659 Date: 2025-08-06 15:52:47 +0000
07-08-2025