JDK-8364414 : G1: Use simpler data structure for holding collection set candidates during calculation
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2025-07-31
  • Updated: 2025-08-01
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
During calculation of the collection set candidates in the Remark pause, G1 uses an array of G1CollectionSetCandidateInfos. This struct holds a reference to a G1HeapRegion and some integer.

That latter integer is not needed during that calculation, and not modified at all by that process; since we delete that temporary data structure later anyway, it makes sense to not carry around the full G1CollectionSetCandidateInfo array while building the collection set candidates from marking.

Comments
A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/26572 Date: 2025-07-31 10:49:39 +0000
31-07-2025