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

Martin Doerr mdoerr at openjdk.java.net
Mon Mar 21 14:58:34 UTC 2022


On Mon, 21 Mar 2022 07:45:31 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.

This PR is not recognized as backport. Please fix that (e.g. by changing the title to "Backport hash of original commit", https://wiki.openjdk.java.net/display/SKARA/Backports#Backports-BackportPullRequests).

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

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


More information about the jdk-updates-dev mailing list