Re:State of Loom
by chrisseaton on Sunday May 17, 2020 @11:05AM
(#23212499)
> and I think the intervening decision to delegate scheduling to the OS
This is where you're getting confused.
This wasn't an 'intervening decision' because we haven't removed it and with Loom the OS is still able to schedule your threads. The user-space threads are opt-in. That's why it's not a reversion. Because Java was never like this before.
(Also, IIRC Linux didn't even have native OS threads when Java 1.0 came out, so M:1 was literally and the only option available in Linux at the time. My memory is that we had to wait for pthreads before we could have hotspot on Linux, but it's a long time ago and quite tangental to my point).