Skip to main content

Java

Virtual Threads vs WebFlux vs Platform Threads on Spring Boot 4.1: Benchmarks and a Decision Framework

Three identical Spring Boot 4.1.1 endpoints — I/O-bound and CPU-bound — re-benchmarked on JDK 25 under platform threads, virtual threads, and WebFlux. Real numbers, a benchmark-methodology bug caught and fixed along the way, an event-loop-starvation failure mode isolated CPU benchmarks miss, and a decision framework: if your service does X, pick Y, because Z.

Java 25 LTS: Every JEP That Matters (with AI Prompts for Each Migration)

A JEP-by-JEP deep dive into Java 25 LTS — the features that will actually change how you write and profile Java. Each section includes a before/after code example, an explanation of what the JVM does differently, the pitfall to avoid, and a copy-paste AI prompt to retrofit your existing codebase. Covers JEP 495, 494, 485, 492, 488, 491, 454, and JFR method profiling.