RFR: 8366951: Test runtime/logging/StressAsyncUL.java is timing out
Johan Sjölen
jsjolen at openjdk.org
Wed Sep 10 15:45:08 UTC 2025
Hi,
This test times out sometimes. This has been known to be caused previously by a resource-constrained execution environment. It may also be because of a race between async logging initialization and the loggers (see JDK-8362282).
This PR reduces the stress by changing the log level from `trace` to `debug`. This changes the amount of logging from 48M to 6.6M, a significant reduction.
The goal with the test was to find out if there are any bugs in the stalling mode by running it in a 'stressful' situation over a long time. The stalling mode was integrated in 2025-02-26 (see https://github.com/openjdk/jdk/pull/22770 ). I therefore believe that relaxing this test is in our interest, as it reduces the stress on our CICD infra.
-------------
Commit messages:
- Change to debug
Changes: https://git.openjdk.org/jdk/pull/27195/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27195&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8366951
Stats: 4 lines in 1 file changed: 0 ins; 0 del; 4 mod
Patch: https://git.openjdk.org/jdk/pull/27195.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/27195/head:pull/27195
PR: https://git.openjdk.org/jdk/pull/27195
More information about the hotspot-runtime-dev
mailing list