RFR: 8366476: Test gc/z/TestSmallHeap.java fails OOM

SendaoYan syan at openjdk.org
Mon Sep 1 13:51:29 UTC 2025


Hi all,

  The PR [JDK-8359683](https://bugs.openjdk.org/browse/JDK-8359683) added NUMA-Aware Relocation for ZGC, it's optimized for the majority of NUMA workloads, but the cost is requiring more headroom in terms of heap memory. This PR add extra JVM option "-XX:-UseNUMA" to make this test run normally.

Test-fix only, change has been verified locally, no risk.

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

Commit messages:
 - Add -XX:-UseNUMA to avoid OOM after JDK-8359683
 - 8366476: Test gc/z/TestSmallHeap.java fails OOM

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

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


More information about the hotspot-gc-dev mailing list