Integrated: 8349192: jvmti/scenarios/contention/TC05/tc05t001 fails: ERROR: tc05t001.cpp, 281: (waitedThreadCpuTime - waitThreadCpuTime) < (EXPECTED_ACCURACY * 1000000)

Serguei Spitsyn sspitsyn at openjdk.org
Sat Nov 15 01:54:20 UTC 2025


On Sat, 8 Nov 2025 00:15:24 GMT, Serguei Spitsyn <sspitsyn at openjdk.org> wrote:

> This is fix is to increase the `EXPECTED_ACCURACY` value in the test:
>  `hotspot/jtreg/vmTestbase/nsk/jvmti/scenarios/contention/TC05/tc05t001`.
> It is used check that the waiting time between `MonitorWait` and `MonitorWaited` event is not big. It seems that in some corner cases this time can be bigger than expected.
> 
> Testing:
>  - TBD: Verify the test with mach5 test runs

This pull request has now been integrated.

Changeset: f971ee5e
Author:    Serguei Spitsyn <sspitsyn at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/f971ee5ea07e3e1c0efe447a416e7242f5e46a16
Stats:     1 line in 1 file changed: 0 ins; 0 del; 1 mod

8349192: jvmti/scenarios/contention/TC05/tc05t001 fails: ERROR: tc05t001.cpp, 281: (waitedThreadCpuTime - waitThreadCpuTime) < (EXPECTED_ACCURACY * 1000000)

Reviewed-by: cjplummer, lmesnik

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

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


More information about the serviceability-dev mailing list