Tagged articles

JDK 21

9 articles · Page 1 of 1
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.

Declarative HTTP ClientJDK 21Modular Auto-Configuration
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.

JDK 21PinningSemaphore
0 likes · 8 min read
Can Java 21 Virtual Threads Render Thread Pools Obsolete?
MeowKitty Programming
MeowKitty Programming
Mar 18, 2026 · Backend Development

Why Sticking to JDK 8 Is Costly: How JDK 22 Closes the Last Gap and JDK 21 Becomes Enterprise Standard

The article analyzes how JDK 21 and JDK 22 dramatically improve language ergonomics, performance, and ecosystem compatibility over JDK 8, providing concrete code examples, benchmark data, and a three‑step migration plan for Java developers facing high‑concurrency and large‑memory workloads.

JDK 21JDK 22Performance
0 likes · 10 min read
Why Sticking to JDK 8 Is Costly: How JDK 22 Closes the Last Gap and JDK 21 Becomes Enterprise Standard
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.

Backend DevelopmentJDK 21Observability
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.

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