A lightweight thread is a Thread
Alan Bateman
Alan.Bateman at oracle.com
Mon Feb 3 06:56:29 UTC 2020
On 03/02/2020 02:28, Christopher Hunt wrote:
> Is “lightweight” descriptive enough if we are essentially discerning pre-emptive threads from cooperative ones, or kernel ones from user land ones? Would it therefore be more useful to introduce a hierarchy reflecting the scheduling nature nature of a thread?
>
> Also, as a term, “lightweight” tends to survive only until something more lightweight comes along.
>
The discussion thread "Virtual Threads: A Short Note about Naming" [1]
and the Thread's updated class description in the current prototype [2]
should help get you up to speed on this topic.
-Alan
[1]
https://mail.openjdk.java.net/pipermail/loom-dev/2019-November/000864.html
[2]
https://download.java.net/java/early_access/loom/docs/api/java.base/java/lang/Thread.html
More information about the loom-dev
mailing list