RFR: JDK-8312620: WSL Linux build crashes after JDK-8310233

Daniel Jeliński djelinski at openjdk.org
Wed Jul 26 05:43:22 UTC 2023


On Tue, 25 Jul 2023 06:18:08 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

> WSL exposes inconsistent information about hugepage support from proc fs, which makes the JVM assert. This patch makes the JVM instead avoid using hugepages for what is technically broken kernel behavior.
> 
> Testing: manually tested on a kernel where I faked the error we see on WSL.

I can confirm that this fixes the WSL build issue.

You may need to change the `@run` line in the renamed test, otherwise jtreg will complain.

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

PR Comment: https://git.openjdk.org/jdk/pull/15007#issuecomment-1649653971


More information about the hotspot-runtime-dev mailing list