Virtual thread: Difference between revisions

Content deleted Content added
Java Project Loom: rmv promotional subsection
Implementations: Add JDK21, with synchronized/native limitations
Line 57:
=== Go ===
Go's ''goroutines'' became preemptive with Go 1.4 in 2014 and are a prominent application of virtual threads.
 
=== Java ===
Java introduced virtual threads in 2023 with JDK 21, with the limitation that any code running on a virtual thread which uses ''synchronised'' blocks or native calls will become pinned to its carrier OS thread.<ref>{{Cite web |title=Virtual Threads |url=https://docs.oracle.com/en/java/javase/21/core/virtual-threads.html |access-date=2024-09-10 |website=Oracle Help Center |language=en-US}}</ref>
 
== Other uses of the term ==