RFR: JDK-8312620: WSL Linux build crashes after JDK-8310233
David Holmes
dholmes at openjdk.org
Wed Jul 26 05:52:49 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.
Would it be simpler to just set the `default_static_huge_pagesize` to zero in this case and effectively disable things that way?
-------------
PR Review: https://git.openjdk.org/jdk/pull/15007#pullrequestreview-1546873406
More information about the hotspot-runtime-dev
mailing list