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

Liming Liu duke at openjdk.org
Tue Jun 11 06:18:45 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 three additional commits since the last revision:

 - Remove it from the problem list
 - Not to use MADV_POPULATE_WRITE on the tests
 - Revert changes in src for the two reasons:
   
   - UEK has fixed the compatibility with upstream kernels;
   - Pretouch behaviors will be covered by other tests.

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

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

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

  Stats: 126 lines in 4 files changed: 20 ins; 94 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-gc-dev mailing list