RFR: JDK-8312620: WSL Linux build crashes after JDK-8310233
Thomas Stuefe
stuefe at openjdk.org
Wed Jul 26 05:43:22 UTC 2023
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.
-------------
Commit messages:
- JDK-8312620-WSL-Linux-build-crashes-after-JDK-8310233
Changes: https://git.openjdk.org/jdk/pull/15007/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=15007&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8312620
Stats: 21 lines in 3 files changed: 14 ins; 0 del; 7 mod
Patch: https://git.openjdk.org/jdk/pull/15007.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/15007/head:pull/15007
PR: https://git.openjdk.org/jdk/pull/15007
More information about the hotspot-runtime-dev
mailing list