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

Thomas Stuefe stuefe at openjdk.org
Tue Oct 17 10:50:21 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 with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 11 additional commits since the last revision:

 - Merge branch 'openjdk:master' into JDK-8313781-Add-regression-tests-for-large-page-logging-and-user-facing-error-messages
 - Merge branch 'openjdk:master' into JDK-8313781-Add-regression-tests-for-large-page-logging-and-user-facing-error-messages
 - 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>
 - Merge branch 'JDK-8313781-Add-regression-tests-for-large-page-logging-and-user-facing-error-messages' of github.com:tstuefe/jdk into JDK-8313781-Add-regression-tests-for-large-page-logging-and-user-facing-error-messages
 - skip empties
   
   Co-authored-by: Stefan Johansson <54407259+kstefanj at users.noreply.github.com>
 - Remove THPmode unknown
 - Several test fixes
 - erge branch 'master' into JDK-8313781-Add-regression-tests-for-large-page-logging-and-user-facing-error-messages
 - ... and 1 more: https://git.openjdk.org/jdk/compare/9de08efc...99baba59

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/15159/files
  - new: https://git.openjdk.org/jdk/pull/15159/files/c096b515..99baba59

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

  Stats: 22225 lines in 718 files changed: 13898 ins; 4829 del; 3498 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