[lworld] RFR: 8341846: [lworld] compiler/valhalla/inlinetypes/TestStressReturnBuffering.java fails to boot with genzgc

Paul Hübner phubner at openjdk.org
Thu Sep 11 13:52:44 UTC 2025


Hi all,

The test `compiler/valhalla/inlinetypes/TestStressReturnBuffering.java` was intermittently failing on all platforms if run enough. This patch increases the memory by 50%, leaving nonetheless a very small heap.

I've run it with the new flag on Linux x64, macOS x64, and Windows x64, 5x 100 iterations on each platform. While with the old heap size this would consistently fail, the new heap size sees no failures.

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

Commit messages:
 - Increase TestStressReturnBuffering memory by 50%.

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

PR: https://git.openjdk.org/valhalla/pull/1574


More information about the valhalla-dev mailing list