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

Chris Plummer cjplummer at openjdk.org
Thu Nov 13 22:22:18 UTC 2025


On Sun, 9 Nov 2025 10:30:45 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
>
> Serguei Spitsyn has updated the pull request incrementally with one additional commit since the last revision:
> 
>   review: restore original EXPECTED_ACCURACY for Windows

Marked as reviewed by cjplummer (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/28206#pullrequestreview-3461917746


More information about the serviceability-dev mailing list