-
Notifications
You must be signed in to change notification settings - Fork 937
Closed
Labels
Description
Describe the bug
raceToLocks fails sometimes:
INFO: Running LockTests.raceToLocks inputs: [0]...
FAIL [21/67] LockTests.raceToLocks inputs: [0] took 4.771 s
java.lang.AssertionError: Expected 53198.0 > 53199.0
> test/test/lock/LockTests.java:38
> Assert.isGreater(minSamplesShared, maxSamplesSemiShared, "threads with shared lock are sampled more frequently");
at one.profiler.test.Assert.assertComparison(Assert.java:39)
at one.profiler.test.Assert.isGreater(Assert.java:64)
at test.lock.LockTests.raceToLocks(LockTests.java:38)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at one.profiler.test.Runner.run(Runner.java:133)
at one.profiler.test.Runner.main(Runner.java:230)
Expected vs. actual behavior
Expected test to pass.
Reproduction Steps
make test
Additional Information/Context
No response
Async-profiler version
master
Environment details
tested on AL2 x86_64 OpenJDK 64-Bit Server VM Corretto-24.0.0.36.3 (build 24+36-FR, mixed mode, sharing).
swivelmargarita