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

Axel Boldt-Christmas aboldtch at openjdk.org
Mon Sep 23 07:32:47 UTC 2024


[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.

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

Commit messages:
 - 8340419: ZGC: Create an UseLargePages adaptation of TestAllocateHeapAt.java

Changes: https://git.openjdk.org/jdk/pull/21128/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21128&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8340419
  Stats: 91 lines in 1 file changed: 91 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/21128.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/21128/head:pull/21128

PR: https://git.openjdk.org/jdk/pull/21128


More information about the hotspot-gc-dev mailing list