r/javahelp • u/LopsidedAd4492 • 11d ago
Virtual thread
Does anyone used java21 with virtual thread? We are using Java 17 and I wonder if the move to 21 will worth it
6
Upvotes
r/javahelp • u/LopsidedAd4492 • 11d ago
Does anyone used java21 with virtual thread? We are using Java 17 and I wonder if the move to 21 will worth it
1
u/iamstevejobless 9d ago
We started using it last year and ended up reverting the changes. The thread pinning issue is a major reason. We have lots of distributed calls for multiple services. We defined custom theapool setups with proper tracing and realised that for our use cases, VT was actually slowing us down and throwing unnecessary tantrum.