Toolsslug: jdk-flight-recorder

JDK Flight Recorder

Built-in low-overhead JDK profiling and event-recording tool used to monitor runtime events such as virtual thread pinning.

Curated Intelligence

1 items · Page 1/1
InfoQ 中文T2·Tools
72 pts
Virtual Threads After JDK 24 Reshape Production Java Concurrency

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.