RFR: 8349192: jvmti/scenarios/contention/TC05/tc05t001 fails: ERROR: tc05t001.cpp, 281: (waitedThreadCpuTime - waitThreadCpuTime) < (EXPECTED_ACCURACY * 1000000) [v3]
Serguei Spitsyn
sspitsyn at openjdk.org
Thu Nov 13 22:47:00 UTC 2025
> 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)
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/28206/files
- new: https://git.openjdk.org/jdk/pull/28206/files/c53f9b40..e98facf9
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=28206&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=28206&range=01-02
Stats: 245054 lines in 1955 files changed: 157091 ins; 53344 del; 34619 mod
Patch: https://git.openjdk.org/jdk/pull/28206.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/28206/head:pull/28206
PR: https://git.openjdk.org/jdk/pull/28206
More information about the serviceability-dev
mailing list