[jdk11u-dev] RFR: 8228609: G1 copy cost prediction uses used vs. actual copied bytes [v3]

Goetz Lindenmaier goetz at openjdk.java.net
Thu Mar 24 16:33:55 UTC 2022


On Tue, 22 Mar 2022 03:58:57 GMT, Yude Lin <duke at openjdk.java.net> wrote:

>> I would like to backport 8228609 which fixes a prediction error regarding cost per bytes copied.
>> 
>> The patch does not apply cleanly, so this backport is basically changing the calculation of copied bytes.
>> 
>> https://bugs.openjdk.java.net/browse/JDK-8227442 is not in 11u. So this patch also uses G1ParScanThreadState::surviving_young_words() in place of _surviving_young_words to adjust for the correct cset index.
>
> Yude Lin has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR. The pull request contains one new commit since the last revision:
> 
>   8228609: G1 copy cost prediction uses used vs. actual copied bytes

@linade 
Two more things, please:
 * Enable Pre-submit tests
 * Only flag the change with jdk11u-fix-request once it is ready.  I'll remove the tag for now, pleas add it again if the review is available.

-------------

PR: https://git.openjdk.java.net/jdk11u-dev/pull/927


More information about the jdk-updates-dev mailing list