JDK-8275381 : G1: refactor 2 constructors of G1CardSetConfiguration
Type:Enhancement
Component:hotspot
Sub-Component:gc
Affected Version:18
Priority:P4
Status:Resolved
Resolution:Fixed
Submitted:2021-10-18
Updated:2021-10-25
Resolved:2021-10-25
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.
2 constructors of G1CardSetConfiguration share some code, it's better to refacoring them to simplify the code.
https://github.com/openjdk/jdk/pull/5478#discussion_r729368285