RFR: 8324781: runtime/Thread/TestAlwaysPreTouchStacks.java failed with Expected a higher ratio between stack committed and reserved
Liming Liu
duke at openjdk.org
Wed Apr 3 08:17:18 UTC 2024
The testcase failed on Oracle CI since JDK-8315923. The root cause is that Oracle CI runs Linux-5.4.17-UEK where the value of MADV_POPULATE_WRITE (23) is used as MADV_DONTEXEC which is not supported by upstream. This PR solves the testcase failure by checking versions of kernels first, and checking the availability of MADV_POPULATE_WRITE when they are not older than 5.14.
-------------
Commit messages:
- Check kernel versions before check the support of the advice
Changes: https://git.openjdk.org/jdk/pull/18592/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18592&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8324781
Stats: 48 lines in 3 files changed: 28 ins; 8 del; 12 mod
Patch: https://git.openjdk.org/jdk/pull/18592.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/18592/head:pull/18592
PR: https://git.openjdk.org/jdk/pull/18592
More information about the hotspot-runtime-dev
mailing list