Browsing Tag
virtual threads
6 posts
Beyond Deadlocks: Livelocks, Starvation, and Lock Convoys
Deadlock gets the headlines, but its quieter siblings (livelock, starvation, and lock convoys) silently degrade Java systems in production. This follow-up explores three liveness failures that never freeze the JVM yet stop it from doing useful work, with practical detection techniques using jstack, JFR, and async-profiler, plus mitigation patterns including randomised backoff, lock-free structures, StampedLock, lock partitioning, and considerations for virtual threads in Java 21+.
Virtual Threads Meet AI: Java Concurrency in the Age of Intelligent Systems
AI workloads change how Java applications scale and behave. This article explains how Java 26 and virtual threads…
Java 25: Getting the Most Out of Virtual Threads with Structured Task Scopes and Scoped Values
With Java 21, the Java platform completely reinvented how threads work by introducing virtual threads alongside traditional platform…
Java 24: A Story of Code, Conflict, and Conquer
In a digital world far away from here, runs a Java application without problems. The logs are quiet,…
More Action, More Overview
Java applications have to contend with various concurrency problems. There is a solution here with new constructs.
Modern Java
With Java’s adoption of a six-month release cycle, new features are being introduced to the language rapidly. This…