Skip to content

Glossary: Spring Boot Beyond the Basics

Virtual thread

Also written: virtual threads, spring.threads.virtual.enabled

A cheap thread the JVM manages itself (Java 21+). When a request waits for PostgreSQL, the JVM sets it aside, though the database pool size is still the limit.

Where the book teaches it

Related terms

Platform threadConnection pool