Integrated: 8369441: Two container tests fail after JDK-8292984

Severin Gehwolf sgehwolf at openjdk.org
Fri Oct 10 08:17:13 UTC 2025


On Wed, 8 Oct 2025 16:46:44 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:

> Please review this simple test fix to the some container tests which currently fail. `TestJFREvents.java` fails because it was relying on a log line at the trace level in order to parse the total machine memory from it and use in the test. We should instead not rely on the log line but use the existing Whitebox API to query that info. `TestMemoryAwareness.java` fails because it matches a log line that was changed in JDK-8292984.
> 
> Updating both tests fix the problems.
> 
> **Testing:**
> - [x] GHA (not really useful for this as the touched tests don't run and it touches nothing else)
> - [x] Ran the affected container tests locally on Linux x86_64 (cg v2). Fail before this fix, pass after.
> 
> Thanks,
> Severin

This pull request has now been integrated.

Changeset: a1a37bd7
Author:    Severin Gehwolf <sgehwolf at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/a1a37bd7b2a8807f462909eadfa83ec26261e464
Stats:     23 lines in 2 files changed: 3 ins; 13 del; 7 mod

8369441: Two container tests fail after JDK-8292984

Reviewed-by: mbaesken, cnorrbin, syan

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

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


More information about the hotspot-dev mailing list