[jdk21u-dev] RFR: 8315923: pretouch_memory by atomic-add-0 fragments huge pages unexpectedly

duke duke at openjdk.org
Wed Jul 10 08:17:16 UTC 2024


On Fri, 5 Jul 2024 08:55:58 GMT, Liming Liu <lliu at openjdk.org> wrote:

> This pull request ports JDK-8315923 back to JDK-21, as JDK-21 still uses atomic-add-0 to pretouch memory and results fragmented huge pages. This backport has the following differences from its original version:
> 
> - TestTransparentHugePageUsage.java gets deleted as it was deleted in JDK-8324776;
> - nullptr is adopted in pretouch_thp_and_use_concurrent, as it is a part of  JDK-8327171;
> - JDK-8324781 is included, as JDK-8324781 only makes changes to testcases.

@limingliu-ampere 
Your change (at version 4b4446e8b364f47cc6d45d04bc3df802c3f5e4b9) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/jdk21u-dev/pull/825#issuecomment-2219845445


More information about the jdk-updates-dev mailing list