[jdk21u-dev] RFR: 8318302: ThreadCountLimit.java failed with "Native memory allocation (mprotect) failed to protect 16384 bytes for memory to guard stack pages"

Arno Zeller azeller at openjdk.org
Wed Feb 11 11:37:13 UTC 2026


Simple backport of a test improvement - but containing also a small additional VM output in case of an OOM.

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

Commit messages:
 - Backport 0735c8ab266be9c580bd4434305ee1decfe8b589

Changes: https://git.openjdk.org/jdk21u-dev/pull/2607/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=2607&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8318302
  Stats: 50 lines in 2 files changed: 34 ins; 5 del; 11 mod
  Patch: https://git.openjdk.org/jdk21u-dev/pull/2607.diff
  Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/2607/head:pull/2607

PR: https://git.openjdk.org/jdk21u-dev/pull/2607


More information about the jdk-updates-dev mailing list