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

Thomas Stuefe stuefe at openjdk.org
Thu Aug 17 14:40:55 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 three additional commits since the last revision:

 - Stefans suggestion
   
   Co-authored-by: Stefan Johansson <54407259+kstefanj at users.noreply.github.com>
 - Stefans suggestion
   
   Co-authored-by: Stefan Johansson <54407259+kstefanj at users.noreply.github.com>
 - Stefans suggestion
   
   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/8cc04b03..49a4192d

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

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