RFR: 8324781: runtime/Thread/TestAlwaysPreTouchStacks.java failed with Expected a higher ratio between stack committed and reserved [v10]

Liming Liu duke at openjdk.org
Fri Jun 7 09:52:37 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.

Liming Liu has updated the pull request incrementally with one additional commit since the last revision:

  Guard more madv numbers

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/18592/files
  - new: https://git.openjdk.org/jdk/pull/18592/files/fe98ec0a..cb2adb8d

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=18592&range=09
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=18592&range=08-09

  Stats: 62 lines in 2 files changed: 57 ins; 2 del; 3 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-gc-dev mailing list