RFR: 8271722: [TESTBUG] gc/g1/TestMixedGCLiveThreshold.java can fail if G1 Full GC uses >1 workers
openjdk-notifier [bot]
"github.com+73116608+openjdk-notifier[bot]" at openjdk.java.net
Wed Aug 4 04:17:50 UTC 2021
On Tue, 3 Aug 2021 13:17:48 GMT, Richard Reingruber <rrich at openjdk.org> wrote:
> I tried to make this pr is dependent on #4968. Hope this works...
>
> The change fixes a test issue in gc/g1/TestMixedGCLiveThreshold.java by adding
> the option `-XX:ParallelGCThreads=1`. This prevents the full gc from running
> with more than one worker because if it would do that, live data could be
> distributed into several regions and one of them could be selected for
> collection which is unexpected with `-XX:G1MixedGCLiveThresholdPercent=25`.
>
> Please refer to the JBS-Item for more details.
>
> Thanks, Richard.
The dependent pull request has now been integrated, and the target branch of this pull request has been updated. This means that changes from the dependent pull request can start to show up as belonging to this pull request, which may be confusing for reviewers. To remedy this situation, simply merge the latest changes from the new target branch into this pull request by running commands similar to these in the local repository for your personal fork:
git checkout JDK-8271721-split-TestMixedGCLiveThreshold
git fetch https://git.openjdk.java.net/jdk master
git merge FETCH_HEAD
# if there are conflicts, follow the instructions given by git merge
git commit -m "Merge master"
git push
-------------
PR: https://git.openjdk.java.net/jdk/pull/4971
More information about the hotspot-gc-dev
mailing list