The max_rs_length value and related predictor are used to predict total young gen remembered set length.
During the Free CSet phase we add not only young gen regions to the local total that is later assigned to max_rs_length, but also old gen region remembered set sizes.
Fortunately G1 does not (correctly) use this resulting value to update predictions. It is just wasted effort.
Fix this.
During the Free CSet phase we add not only young gen regions to the local total that is later assigned to max_rs_length, but also old gen region remembered set sizes.
Fortunately G1 does not (correctly) use this resulting value to update predictions. It is just wasted effort.
Fix this.
- duplicates
-
JDK-8227739 Merge cost predictions for scanning cards and log buffer entries
-
- Resolved
-
- relates to
-
JDK-8228506 Remove rs_length_diff related code
-
- Closed
-
-
JDK-8228504 Rename max_rs_length to young_rs_length
-
- Closed
-