RFR: JDK-8313781: Add regression tests for large page logging and user-facing error messages
Thomas Stuefe
stuefe at openjdk.org
Sat Aug 5 10:29:54 UTC 2023
In preparation for the UseSHM removal (https://bugs.openjdk.org/browse/JDK-8310841) I'd like more regression tests.
The new test basically checks the behavior of the JVM when confronted with different variations of:
- OS capabilities
- JVM settings.
For example: If the JVM is started with -XX:+UseLargePages, but on the OS side there are no huge pages configured, or the kernel does not even support hugepages, the JVM should disable large pages and issue a warning.
-------------
Commit messages:
- JDK-8313781-Add-regression-tests-for-large-page-logging-and-user-facing-error-messages
Changes: https://git.openjdk.org/jdk/pull/15159/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=15159&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8313781
Stats: 243 lines in 2 files changed: 217 ins; 4 del; 22 mod
Patch: https://git.openjdk.org/jdk/pull/15159.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/15159/head:pull/15159
PR: https://git.openjdk.org/jdk/pull/15159
More information about the hotspot-runtime-dev
mailing list