RFR: 8340419: ZGC: Create an UseLargePages adaptation of TestAllocateHeapAt.java

Joel Sikström duke at openjdk.org
Wed Sep 25 11:57:40 UTC 2024


On Mon, 23 Sep 2024 07:28:15 GMT, Axel Boldt-Christmas <aboldtch at openjdk.org> wrote:

> [JDK-8340146](https://bugs.openjdk.org/browse/JDK-8340146) / #21127  disables TestAllocateHeapAt.java when running with persistent hugepages because it makes assumptions on the underlying file systems.
> 
> I propose creating a version of this tests which instead first checks if there is an appropriate mount point for a persistent hugepages heap file, and only runs the test if exists.

I think this looks good.

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

Marked as reviewed by jsikstro at github.com (no known OpenJDK username).

PR Review: https://git.openjdk.org/jdk/pull/21128#pullrequestreview-2328027755


More information about the hotspot-gc-dev mailing list