<div dir="auto">Hi everyone,<div dir="auto"><br></div><div dir="auto">I'm currently investigating indefinite hangs of the build system Bazel that occur only on Windows arm64 (<a href="https://github.com/bazelbuild/bazel/issues/28520">https://github.com/bazelbuild/bazel/issues/28520</a>) - Linux, macOS as well as Windows x64 are unaffected. Bazel runs itself via an embedded JDK 25 and I've been able to reproduce the same hangs on 25.0.2.</div><div dir="auto"><br></div><div dir="auto">The hangs occur while Bazel downloads external dependencies using HttpURLConnection in virtual threads created by a VirtualThreadPerTaskExecutor. I captured JSON thread dumps (<a href="https://github.com/user-attachments/files/25097968/threads.json">https://github.com/user-attachments/files/25097968/threads.json</a> and <a href="https://github.com/user-attachments/files/25102540/threads2.json">https://github.com/user-attachments/files/25102540/threads2.json</a> are examples, but I can provide more) which all seem to have the following in common:</div><div dir="auto">1. Virtual threads are blocked in either very short synchronized blocks (e.g. SynchronizedMap methods) or WEPoll#ctl. </div><div dir="auto">2. There are enough carrier threads available throughout (the machine has 8 cores).</div><div dir="auto"><br></div><div dir="auto">I don't know how to explain why there is no progress in these situations - the thread dumps don't seem to point to an obvious deadlock, but the program never makes progress again after getting into this state. WEPoll#ctl led me to think that this may be related to a subtle deadlock issue affecting the Go runtime (<a href="https://www.ntkernel.com/a-rare-cancelioex-hang-in-go-on-windows/">https://www.ntkernel.com/a-rare-cancelioex-hang-in-go-on-windows/</a>), but I then found thread dumps such as the second one above that don't include an such frames.</div><div dir="auto"><br></div><div dir="auto">Is there anything special about the Loom impl on Windows arm64 that could explain this behavior? </div><div dir="auto"><br></div><div dir="auto">Fabian</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div></div>