On Tue, 24 May 2022 19:52:57 GMT, Leonid Mesnik <lmes...@openjdk.org> wrote:
> Need to use proper synchronization. > > The CyclicBarriers might move the thread to WAITING state but not BLOCKED. So > it should not confuse existing checks. This pull request has now been integrated. Changeset: 176bb23d Author: Leonid Mesnik <lmes...@openjdk.org> URL: https://git.openjdk.java.net/jdk/commit/176bb23de18d9ab448e77e85a9c965a7c02f2c50 Stats: 9 lines in 1 file changed: 4 ins; 2 del; 3 mod 8287200: Test java/lang/management/ThreadMXBean/VirtualThreadDeadlocks.java timed out after JDK-8287103 Reviewed-by: kevinw, cjplummer, alanb ------------- PR: https://git.openjdk.java.net/jdk/pull/8874