Tagged articles
JDK 21
16 articles · Page 1 of 1
This comprehensive guide covers eight critical trends for 2026 Java interviews: virtual threads migration, structured concurrency with StructuredTaskScope, JDK 21 features (records, pattern matching, FFM API), Spring Boot 3 Jakarta EE migration, GraalVM Native Image, cloud native (Kubernetes, Istio, Serverless), AI engineering (RAG, Agents, MCP), and observability (Metrics, Logging, Tracing).
AI EngineeringCloud NativeGraalVM
0 likes · 53 min read

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

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


DabaoshiAug 21, 2026 · Backend Development
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


java1234Aug 15, 2026 · Backend Development
The article explains how Java virtual threads can complete 10,000 I/O‑bound tasks in about one second, whereas a traditional fixed thread pool of 200 threads needs roughly fifty seconds, by detailing the underlying scheduling differences, benchmark code, suitable scenarios, and limitations.
ConcurrencyJDK 21Java
0 likes · 9 min read

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

This guide covers practical adoption of JDK 21 virtual threads in Spring Boot 3.2+, detailing configuration pitfalls, connection pool tuning, thread pool separation, pinning diagnosis via JFR, monitoring metrics shifts, and a phased rollout strategy for high-concurrency services.
Connection PoolingJDK 21JFR monitoring
0 likes · 13 min read

The article walks through building a Spring Boot 3.2 application with JDK 21 as a GraalVM native image, compares binary and jar deployments, benchmarks against Go and Rust implementations, and concludes that AOT‑processed native images dramatically reduce startup time and memory usage despite long compile times.
GoGraalVMJDK 21
0 likes · 9 min read

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

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

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 22Java
0 likes · 10 min read

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.
Generational ZGCJDK 21Java
0 likes · 9 min read

The article examines JDK 21's Generational ZGC, explaining its weak generational hypothesis, heap partitioning, performance gains such as a 10% throughput increase and reduced pause times, mitigation of allocation stalls, migration steps, and diagnostic tools for developers.
Generational GCJDK 21Java
0 likes · 6 min read


21CTOAug 30, 2024 · Backend Development
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 DevelopmentConcurrencyJDK 21
0 likes · 9 min read

This article explores JDK 21's major features including virtual threads, generational ZGC, and new APIs, comparing their performance with traditional threading models and demonstrating practical implementations in Spring Boot.
ConcurrencyGenerational ZGCJDK 21
0 likes · 13 min read

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
