InfoQ 中文T2·Tools
72 pts
JDK 24's JEP 491 removes the monitor-pinning problem that blocked virtual threads in synchronized code, making them production-ready, but the dominant risk shifts from carrier-thread starvation to downstream resource exhaustion. The article documents silent ThreadLocal cache invalidation (a 2216x initialization gap in benchmarks), recommends JDK 25's finalized scoped values for request context, and stresses that WebFlux remains necessary for streaming and backpressure workloads.