RFR: 8349192: jvmti/scenarios/contention/TC05/tc05t001 fails: ERROR: tc05t001.cpp, 281: (waitedThreadCpuTime - waitThreadCpuTime) < (EXPECTED_ACCURACY * 1000000) [v3]
Serguei Spitsyn
sspitsyn at openjdk.org
Fri Nov 14 20:34:19 UTC 2025
On Thu, 13 Nov 2025 22:47:00 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 with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision:
>
> - Merge
> - review: restore original EXPECTED_ACCURACY for Windows
> - 8349192: Test jvmti/scenarios/contention/TC05/tc05t001 fails: ERROR: tc05t001.cpp, 281: (waitedThreadCpuTime - waitThreadCpuTime) < (EXPECTED_ACCURACY * 1000000)
Thank you for review, Chris!
-------------
PR Comment: https://git.openjdk.org/jdk/pull/28206#issuecomment-3534463535
More information about the serviceability-dev
mailing list