RFR: 8340422: ZGC: TestAllocateHeapAt.java should not run with transparent hugepages [v2]
Axel Boldt-Christmas
aboldtch at openjdk.org
Tue Sep 24 05:51:06 UTC 2024
> 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 two commits:
- Merge remote-tracking branch 'upstream_jdk/master' into JDK-8340422
- 8340422: ZGC: TestAllocateHeapAt.java should not run with transparent hugepages
-------------
Changes: https://git.openjdk.org/jdk/pull/21129/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21129&range=01
Stats: 44 lines in 7 files changed: 41 ins; 0 del; 3 mod
Patch: https://git.openjdk.org/jdk/pull/21129.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/21129/head:pull/21129
PR: https://git.openjdk.org/jdk/pull/21129
More information about the hotspot-dev
mailing list