Writing & development news

virtual-threads2

Practical notes on Java, Spring, testing, and software engineering, with working examples and source references.

All articles →

Java Virtual Threads: JDK 21 vs 25 and Pinning with JFR

Understand virtual-thread carriers and I/O waits, compare JDK 21 and 25 synchronized pinning with a runnable JFR probe, and distinguish final APIs from previews and remaining bottlenecks.

java / virtual-threads / jdk21↗

JDK 25 ScopedValue: Request Context Beyond ThreadLocal

Run the finalized ScopedValue API on virtual threads. Observe nested bindings, exception restoration and plain-child non-inheritance, with clear ThreadLocal and structured-concurrency boundaries.

java / jdk25 / scopedvalue↗