Integrated: JDK-8313781: Add regression tests for large page logging and user-facing error messages

Thomas Stuefe stuefe at openjdk.org
Fri Oct 27 06:58:49 UTC 2023


On Fri, 4 Aug 2023 14:33:02 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: abad0408
Author:    Thomas Stuefe <stuefe at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/abad0408e8317b43c2cd5bc3d324ff199aa289f5
Stats:     239 lines in 2 files changed: 210 ins; 4 del; 25 mod

8313781: Add regression tests for large page logging and user-facing error messages

Reviewed-by: sjohanss, dholmes

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

PR: https://git.openjdk.org/jdk/pull/15159


More information about the hotspot-runtime-dev mailing list