Virtual Threads

GPTKB entity

Statements (26)
Predicate Object
gptkbp:instanceOf Java feature
gptkbp:allows creating thousands of threads
gptkbp:alsoKnownAs fibers
gptkbp:compatibleWith existing Java Thread API
gptkbp:contrastsWith Platform Threads
gptkbp:enables high concurrency with low resource usage
simpler asynchronous programming
https://www.w3.org/2000/01/rdf-schema#label Virtual Threads
gptkbp:improves throughput in concurrent applications
gptkbp:introducedIn gptkb:Java_19
preview feature
gptkbp:managedBy gptkb:Java_Virtual_Machine
gptkbp:notBoundTo OS threads
gptkbp:partOf gptkb:Project_Loom
gptkbp:promotion standard feature in Java 21
gptkbp:purpose lightweight concurrency
gptkbp:reduces thread management overhead
context switching cost
gptkbp:scheduledBy JVM scheduler
gptkbp:supports structured concurrency
gptkbp:usedFor scalable server applications
gptkbp:bfsParent gptkb:Java_SE_21
gptkb:Java_21
gptkb:Java_SE_21_Edition
gptkb:JDK_21
gptkbp:bfsLayer 6