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

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

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

Changes: https://git.openjdk.org/jdk/pull/28206/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28206&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8349192
  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 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

Reply via email to