RFR: 8340422: ZGC: TestAllocateHeapAt.java should not run with transparent hugepages [v3]
Joel Sikström
jsikstro at openjdk.org
Mon Nov 4 16:23:37 UTC 2024
On Mon, 4 Nov 2024 14:28:45 GMT, Axel Boldt-Christmas <aboldtch at openjdk.org> wrote:
>> Similarly to [JDK-8340146](https://bugs.openjdk.org/browse/JDK-8340146) / #21127 does not work well with transparent hugepages.
>>
>> Because a machine may be configured in such a way that UseTransperetHugePages option gets ignored, the test driver must also check if it will be. As such I extracted the `test/hotspot/jtreg/runtime/os/HugePageConfiguration.java` utility into shared test library.
>>
>> On none linux machines the `vm.opt.final.UseTransparentHugePages` will be null, but the test checks `os.family == "linux"` first. I have not observed an issue with the JTREG filter on none linux machines. But will double check that it does not cause an issue.
>
> Axel Boldt-Christmas has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains three commits:
>
> - Merge remote-tracking branch 'upstream_jdk/master' into JDK-8340422
> - Merge remote-tracking branch 'upstream_jdk/master' into JDK-8340422
> - 8340422: ZGC: TestAllocateHeapAt.java should not run with transparent hugepages
Looks good!
-------------
Marked as reviewed by jsikstro (Committer).
PR Review: https://git.openjdk.org/jdk/pull/21129#pullrequestreview-2413518470
More information about the hotspot-dev
mailing list