RFR: JDK-8313781: Add regression tests for large page logging and user-facing error messages [v2]

Thomas Stuefe stuefe at openjdk.org
Tue Aug 15 12:56:34 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.

Thomas Stuefe has updated the pull request incrementally with one additional commit since the last revision:

  skip empties
  
  Co-authored-by: Stefan Johansson <54407259+kstefanj at users.noreply.github.com>

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/15159/files
  - new: https://git.openjdk.org/jdk/pull/15159/files/ac1ebdcf..a0f2ae18

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=15159&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=15159&range=00-01

  Stats: 3 lines in 1 file changed: 0 ins; 2 del; 1 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