Full threadgudzpoz·By the way, there was a recent HN discussion on a real-world example of deadlock caused by `synchronized` pinning ("We switched to Java 21 virtual threads and got a deadlock in TPC-C for Postgres") [1].[1] https://news.ycombinator.com/item?id=39008026View on HN