---
title: "#virtual-threads articles | Hashnode"
description: "Explore 12 articles tagged #virtual-threads on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/virtual-threads"
---

Tag

# #virtual-threads

12 posts · 0 followers

[Gowtham Muthuvel](https://hashnode.com/@GowthamMuthuvel) · [Oct 29](https://hashnode.com/posts/replace-threadlocal-with-scopedvalue-java-25/6ae3683e2638c25790c50fcd)

### [Replacing ThreadLocal with ScopedValue for Request IDs (Java 25)](https://gowthammuthuvel.hashnode.dev/replace-threadlocal-with-scopedvalue-java-25?utm_source=hashnode&utm_medium=feed)

A real request-ID migration from ThreadLocal/MDC to Java 25 ScopedValue: the pool-thread leak, child tasks, StructuredTaskScope and the MDC bridge.

18 min read · [gowthammuthuvel.hashnode.dev](https://gowthammuthuvel.hashnode.dev/replace-threadlocal-with-scopedvalue-java-25?utm_source=hashnode&utm_medium=feed)

[Gowtham Muthuvel](https://hashnode.com/@GowthamMuthuvel) · [Oct 28](https://hashnode.com/posts/spring-boot-virtual-threads-hikaricp-pool-exhausted/6ae1804f1a90493defbd32c3)

### [Spring Boot Virtual Threads and HikariCP: Why Your Pool Runs Dry](https://gowthammuthuvel.hashnode.dev/spring-boot-virtual-threads-hikaricp-pool-exhausted?utm_source=hashnode&utm_medium=feed)

spring.threads.virtual.enabled=true flooded a 10-connection HikariCP pool: ~half of 2,000 requests timed out. A Semaphore bulkhead fixed it. Real runs

22 min read · [gowthammuthuvel.hashnode.dev](https://gowthammuthuvel.hashnode.dev/spring-boot-virtual-threads-hikaricp-pool-exhausted?utm_source=hashnode&utm_medium=feed)

[Gowtham Muthuvel](https://hashnode.com/@GowthamMuthuvel) · [Oct 27](https://hashnode.com/posts/virtual-thread-pinning-java-25/6ae06ecd08b41add23f0fd2d)

### [Virtual Thread Pinning in Java 25: What Still Pins After JEP 491](https://gowthammuthuvel.hashnode.dev/virtual-thread-pinning-java-25?utm_source=hashnode&utm_medium=feed)

Java 24+ fixed synchronized pinning, but class initializers still pin virtual threads. A JDK 21 vs 25 test, JFR detection, and the fix.

10 min read · [gowthammuthuvel.hashnode.dev](https://gowthammuthuvel.hashnode.dev/virtual-thread-pinning-java-25?utm_source=hashnode&utm_medium=feed)

[Manikandan S](https://hashnode.com/@manikandan4411) · [Sep 24](https://hashnode.com/posts/java-21-features-in-java/6ab49eb460357919ad99bb98)

### [Java 21 Features in Java](https://manikandan4411.hashnode.dev/java-21-features-in-java?utm_source=hashnode&utm_medium=feed)

Author by Manikandan S - 23rd September 2026

5 min read · [manikandan4411.hashnode.dev](https://manikandan4411.hashnode.dev/java-21-features-in-java?utm_source=hashnode&utm_medium=feed)

[Abstract Algorithms](https://hashnode.com/@abstractalgorithms) · [May 3](https://hashnode.com/posts/java-21-to-25-virtual-threads-pattern-matching/69f6f94ce586d254c538be14)

### [Java 21 to 25: Virtual Threads, Pattern Matching, and Structured Concurrency](https://abstractalgorithms.hashnode.dev/java-21-to-25-virtual-threads-pattern-matching?utm_source=hashnode&utm_medium=feed)

Virtual threads replace thread pools for I/O work. Structured concurrency replaces CompletableFuture. Java 21 LTS is the biggest release since Java 8.

22 min read · [abstractalgorithms.hashnode.dev](https://abstractalgorithms.hashnode.dev/java-21-to-25-virtual-threads-pattern-matching?utm_source=hashnode&utm_medium=feed)

[Abstract Algorithms](https://hashnode.com/@abstractalgorithms) · [Apr 5](https://hashnode.com/posts/adapting-to-virtual-threads-spring-developers/69d2a904c6aa5c6c963397ec)

### [Adapting to Virtual Threads for Spring Developers](https://abstractalgorithms.hashnode.dev/adapting-to-virtual-threads-spring-developers?utm_source=hashnode&utm_medium=feed)

Migrate your Spring Boot services from thread-pool exhaustion to JDK 21 virtual threads — the practical Spring developer guide

18 min read · [abstractalgorithms.hashnode.dev](https://abstractalgorithms.hashnode.dev/adapting-to-virtual-threads-spring-developers?utm_source=hashnode&utm_medium=feed)

[Liviu Stirb](https://hashnode.com/@devl) · [Jun 29, 2025](https://hashnode.com/posts/detecting-virtual-thread-pinning-in-java/686136bbbf9f8c9fae3358c0)

### [Detecting Virtual Thread Pinning in Java](https://blog.blockingqueue.com/detecting-virtual-thread-pinning-in-java?utm_source=hashnode&utm_medium=feed)

Virtual threads represent a significant leap forward for Java. I believe they will rejuvenate the language. Combined with all the recent advancements, this will further solidify Java's dominance in areas where it already leads, such as enterprise sof...

1 min read · [blog.blockingqueue.com](https://blog.blockingqueue.com/detecting-virtual-thread-pinning-in-java?utm_source=hashnode&utm_medium=feed)

[Mirna De Jesus Cambero](https://hashnode.com/@mirnadjc) · [Mar 27, 2025](https://hashnode.com/posts/modern-java-features-virtual-threads-in-java-21/67e55aadfbf84ec3da7cdc68)

### [Modern Java Features: Virtual Threads in Java 21](https://codelikeawoman.com/modern-java-features-virtual-threads-in-java-21?utm_source=hashnode&utm_medium=feed)

Let’s learn this new feature starting with a simple questionnaire that can offer answers to important questions that may come up as we dive into it. What is a Virtual Thread? Virtual threads are lightweight threads that are not tied to the OS or hard...

6 min read · [codelikeawoman.com](https://codelikeawoman.com/modern-java-features-virtual-threads-in-java-21?utm_source=hashnode&utm_medium=feed)

[João Esperancinha](https://hashnode.com/@jesperancinha) · [Jan 9, 2025](https://hashnode.com/posts/kotlin-coroutines-vs-java-virtual-threads-a-good-story-but-just-that/678010661e9d5f5d097369f1)

### [Kotlin Coroutines vs Java Virtual Threads — A good story, but just that…](https://jesperancinha.hashnode.dev/kotlin-coroutines-vs-java-virtual-threads-a-good-story-but-just-that?utm_source=hashnode&utm_medium=feed)

So what is the big difference between Kotlin Coroutines and Java Virtual Threads? Aren they the same under a different management? How do they work?

51 min read · [jesperancinha.hashnode.dev](https://jesperancinha.hashnode.dev/kotlin-coroutines-vs-java-virtual-threads-a-good-story-but-just-that?utm_source=hashnode&utm_medium=feed)

[Ashwin Padiyar](https://hashnode.com/@ashwinpadiyar) · [Oct 28, 2024](https://hashnode.com/posts/java-concurrency-with-project-loom-in-jdk-21/66f268adc7aa722528c5e2b0)

### [Java Concurrency with Project Loom in JDK 21](https://padiyar.hashnode.dev/java-concurrency-with-project-loom-in-jdk-21?utm_source=hashnode&utm_medium=feed)

This page will outline the shortcomings of the current concurrency model and how virtual threads help address these challenges. I will clarify that the traditional method of creating threads remains relevant and effective. Virtual threads are meant t...

5 min read · [padiyar.hashnode.dev](https://padiyar.hashnode.dev/java-concurrency-with-project-loom-in-jdk-21?utm_source=hashnode&utm_medium=feed)
