RFR: JDK-8311921: Inform about MaxExpectedDataSegmentSize in case of pthread_create failures on AIX

Matthias Baesken mbaesken at openjdk.org
Wed Jul 12 07:59:35 UTC 2023


In case pthread_create fails on AIX, MaxExpectedDataSegmentSize might be too small. We have already some UL logging when pthread_create fails, it would be helpful to mention there MaxExpectedDataSegmentSize too.

We observed the importance of the parameter MaxExpectedDataSegmentSize , when looking into failures of  https://github.com/openjdk/jdk/commits/master/test/hotspot/jtreg/vmTestbase/vm/mlvm/mixed/stress/java/findDeadlock/TestDescription.java  on AIX, this tests generates quite a few threads and might run on some machines into issues because of too low settings of MaxExpectedDataSegmentSize  .

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

Commit messages:
 - JDK-8311921

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

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


More information about the hotspot-runtime-dev mailing list