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

Thomas Stuefe stuefe at openjdk.org
Thu Jun 6 06:03:49 UTC 2024


On Mon, 6 May 2024 03:33:30 GMT, Liming Liu <duke at openjdk.org> wrote:

>> 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:
> 
>   Fix the wrong condition

Just stating this here, I don't like the fact that this patch punishes all Distros for a problem that only exists in UEK kernel. This is not a problem with the mainline kernel.

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

PR Comment: https://git.openjdk.org/jdk/pull/18592#issuecomment-2151471883


More information about the hotspot-gc-dev mailing list