Class VirtualThreadsSecondPreviewNotes
java.lang.Object
net.jrodolfo.java_evolution.java20.VirtualThreadsSecondPreviewNotes
Explains virtual threads as a Java 20 second preview feature.
Java 20 continued the work started in Java 19: make blocking thread-per-task code scale to very high concurrency without forcing developers into callback chains or reactive pipelines for every workload.
Virtual threads became final in Java 21. This package keeps Java 20 as notes because the runnable preview-origin example already appears in Java 19 and the final API is demonstrated in Java 21.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionNames the release where virtual threads became final.purpose()Explains the problem virtual threads address.
-
Constructor Details
-
VirtualThreadsSecondPreviewNotes
public VirtualThreadsSecondPreviewNotes()
-
-
Method Details
-
purpose
-
finalRelease
Names the release where virtual threads became final.- Returns:
- a short release note
-