Virtual thread: Difference between revisions

Content deleted Content added
Citation bot (talk | contribs)
Altered title. Removed parameters. | Use this bot. Report bugs. | Suggested by Dominic3203 | Category:Virtualization | #UCB_Category 7/40
Soc88 (talk | contribs)
Java: update on Java 24 fixing pinning on synchronized
Line 59:
 
=== Java ===
Java introduced virtual threads in 2023 with JDKJava 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> The former limitation was fixed in Java 24.<ref>{{Cite web |title=JEP 491: Synchronize Virtual Threads without Pinning |url=https://openjdk.org/jeps/491 |access-date=2025-03-30 |website=OpenJDK |language=en-US}}</ref>
 
== Other uses of the term ==