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

Serguei Spitsyn sspitsyn at openjdk.org
Sun Nov 9 10:30:45 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 incrementally with one additional commit since the last revision:

  review: restore original EXPECTED_ACCURACY for Windows

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/28206/files
  - new: https://git.openjdk.org/jdk/pull/28206/files/1df4f7d3..c53f9b40

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=28206&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=28206&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 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