Integrated: 8340422: ZGC: TestAllocateHeapAt.java should not run with transparent hugepages
Axel Boldt-Christmas
aboldtch at openjdk.org
Thu Nov 21 09:57:26 UTC 2024
On Mon, 23 Sep 2024 07:43:32 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.
This pull request has now been integrated.
Changeset: f2b10c6c
Author: Axel Boldt-Christmas <aboldtch at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/f2b10c6c228f7be879b3f043accb22e0bc6535d6
Stats: 33 lines in 6 files changed: 30 ins; 0 del; 3 mod
8340422: ZGC: TestAllocateHeapAt.java should not run with transparent hugepages
Reviewed-by: stefank, jsikstro
-------------
PR: https://git.openjdk.org/jdk/pull/21129
More information about the hotspot-dev
mailing list