An issue was identified in a Java 21 application utilizing Virtual Threads that caused deadlocks during the generation of Excel reports in the Gulf Local Cargo Invoices Project. The root cause was traced to the use of synchronized code blocks in the HTTP client library, which were incompatible with Virtual Threads. The deadlock
Table of contents
Java 21 Virtual Threads Deadlock AwarenessRoot Cause AnalysisFirst Step in a Frozen Application: Taking a Thread DumpHow to Take Thread Dump ?2 Comments
Sort: