3 ms·
java green threads strike back
by recursivedoubts 4y ago
java green threads strike back
- jjtheblunt 4y agoThat would be the best name by far!
- rzzzt 4y agoThey were called green as well as "M:N" threads: https://en.wikipedia.org/wiki/Green_thread#Green_threads_in_the_Java_virtual_machine https://en.wikipedia.org/wiki/Green_thread#Green_threads_in_...
- jjtheblunt 4y agohttps://a.co/d/2hw5NSv https://a.co/d/2hw5NSv Solaris Internals has the greatest explanation of this that I knew, including what you said.
- codr7 4y agoGreen used to mean non-preemptive; which is not the case here, or for Golang or Erlang (afaik). M:N is all about resource usage, the semantics are mostly the same as OS threads.
- jjtheblunt 4y agohttps://en.wikipedia.org/wiki/Green_thread https://en.wikipedia.org/wiki/Green_thread