Integrated: JDK-8314426: runtime/os/TestTrimNative.java is failing on slow machines

Thomas Stuefe stuefe at openjdk.org
Tue Aug 22 14:27:17 UTC 2023


On Wed, 16 Aug 2023 14:28:38 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

> SAP reported errors on slow machines. Patch hardens the test against that.
> 
> - remove the grep for "Native Trimmer Stop" message, since that message is raced by the VM death and may not appear on slow machines
> - for the low-interval test, made the number of trims to happen dependent on the runtime of the test. On slow machines, we could run longer than 3 seconds and therefore see more trim messages

This pull request has now been integrated.

Changeset: 20e94784
Author:    Thomas Stuefe <stuefe at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/20e94784c9f7c30e95550c72aedb5e986a153114
Stats:     6 lines in 1 file changed: 3 ins; 1 del; 2 mod

8314426: runtime/os/TestTrimNative.java is failing on slow machines

Reviewed-by: mbaesken, mdoerr, shade

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

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


More information about the hotspot-runtime-dev mailing list