Thank you for the updates. I have tried varying several parameters. In particular, it seems that when virtual threads are replaced with regular threads, then the tests hums along for a long time without problems. I also noticed that in case of a hang up with virtual threads, the thread dump provided by IDEA IntelliJ is near useless. The information provided by jstack does not seems better. From what I gathered thus far, the virtual threads get blocked when invoking a logger and never release the semaphore which caused the main thread to be blocked. Although the reason for the virtual threads getting blocked still remains mysterious. |