Tagged articles

JDK 21

15 articles · Page 1 of 1
Java Tech Enthusiast
Java Tech Enthusiast
Sep 7, 2026 · Backend Development

Java Virtual Threads: Why Production Adoption Lagged Behind the Hype

The article analyzes why Java virtual threads, despite promising million-concurrency with minimal code changes, see little production adoption due to pinning with synchronized, ThreadLocal memory pressure, incomplete framework support, and CPU-bound workload mismatch, while showing benchmarks where they excel in I/O-heavy services but migration costs deter legacy systems.

ConcurrencyJDK 21Java
0 likes · 12 min read
Java Virtual Threads: Why Production Adoption Lagged Behind the Hype
macrozheng
macrozheng
Sep 7, 2026 · Backend Development

Java Virtual Threads: Why the 'Million Concurrency' Promise Failed in Production

This article analyzes why Java virtual threads, despite promising million-concurrency with minimal overhead, see little production adoption due to pinning with synchronized blocks, ThreadLocal memory explosions, incomplete framework support, and unsuitability for CPU-bound workloads, while showing benchmarks where they excel in I/O-heavy scenarios.

ConcurrencyJDK 21Java
0 likes · 12 min read
Java Virtual Threads: Why the 'Million Concurrency' Promise Failed in Production
Dabaoshi
Dabaoshi
Aug 21, 2026 · Backend Development

Concurrency Series Finale: Virtual Threads and Structured Concurrency

The article explains why platform threads are costly, how JDK 21 virtual threads eliminate that cost, and provides practical guidance on creating, using, and debugging virtual threads, including pinning pitfalls, rules against pooling, structured concurrency, ScopedValue, and a detailed model‑selection comparison.

ConcurrencyJDK 21Java
0 likes · 34 min read
Concurrency Series Finale: Virtual Threads and Structured Concurrency
Tinker Programmer
Tinker Programmer
Jul 21, 2026 · Backend Development

Migrating a High‑Traffic Java 8 Service to JDK 21/25: Pitfalls, Compatibility Checks, and Best‑Practice SOP

The author details a production migration of a core transaction service from Java 8 to JDK 21/25—handling millions of users and 30 k QPS—by exposing runtime silent‑failure pitfalls, outlining six compatibility‑risk categories, prescribing version‑selection rules, a step‑by‑step gray‑scale upgrade and rollback plan, and quantifying performance gains such as ZGC latency reduction and AppCDS startup speedup.

JDK 21JDK 25Java
0 likes · 20 min read
Migrating a High‑Traffic Java 8 Service to JDK 21/25: Pitfalls, Compatibility Checks, and Best‑Practice SOP
Senior Xiao Ying
Senior Xiao Ying
May 8, 2026 · Backend Development

Spring Boot 4.0 with JDK 21 and Virtual Threads: Boosting Performance

Spring Boot 4.0 introduces a milestone upgrade that requires JDK 21, switches to jakarta.* packages, offers first‑class virtual‑thread support, a built‑in declarative HTTP client, native retry annotations, API versioning, and modular auto‑configuration, all aimed at higher cloud‑native performance.

API VersioningDeclarative HTTP ClientJDK 21
0 likes · 11 min read
Spring Boot 4.0 with JDK 21 and Virtual Threads: Boosting Performance
Programmer XiaoFu
Programmer XiaoFu
May 8, 2026 · Backend Development

Can Java 21 Virtual Threads Render Thread Pools Obsolete?

The article examines how Java 21’s cheap virtual threads change the role of traditional thread pools, explaining why pooling virtual threads is a bad idea, how thread pools still act as natural throttlers, and which scenarios—especially CPU‑bound work and synchronized blocks—remain unsuitable for virtual threads.

ConcurrencyJDK 21Java
0 likes · 8 min read
Can Java 21 Virtual Threads Render Thread Pools Obsolete?
JakartaEE China Community
JakartaEE China Community
Dec 8, 2025 · Fundamentals

Generational ZGC in JDK 21: Design, Performance, and Adoption

Generational ZGC, introduced in JDK 21, applies a weak generational hypothesis to split the heap into young and old regions, improving throughput by ~10%, reducing max pause times by 10‑20%, mitigating allocation stalls, and offering a phased adoption path via JVM flags and diagnostic tools.

Garbage CollectionGenerational ZGCJDK 21
0 likes · 9 min read
Generational ZGC in JDK 21: Design, Performance, and Adoption
21CTO
21CTO
Aug 30, 2024 · Backend Development

How to Stay Ahead as a Java Developer: Tips for JDK 21, Spring Boot 3.2, and Beyond

This article compiles practical advice for Java developers feeling out‑of‑practice, covering migration to JDK 21, Spring Boot 3.2 observability, new language features, community resources, and strategies to boost confidence and stay current with the evolving Java ecosystem.

ConcurrencyJDK 21Java
0 likes · 9 min read
How to Stay Ahead as a Java Developer: Tips for JDK 21, Spring Boot 3.2, and Beyond
Su San Talks Tech
Su San Talks Tech
Sep 20, 2023 · Backend Development

JDK 21 GA: All New Features, Virtual Threads & Generational ZGC Explained

The article introduces the official General Availability release of JDK 21, explains version naming conventions such as Alpha, Beta, RC, GA and LTS, and details its fifteen new features—including Virtual Threads, preview language enhancements, generational ZGC, and the removal of Shenandoah—while showing how to enable them.

Generational ZGCJDK 21Java
0 likes · 11 min read
JDK 21 GA: All New Features, Virtual Threads & Generational ZGC Explained