Cooperative vs preemtive scheduling of virtual theads

Andrew Haley aph at redhat.com
Thu Jun 11 10:33:49 UTC 2020


On 09/06/2020 11:41, Ron Pressler wrote:

> However, if you can find an example where it, or some other platform
> mechanism, does introduce new issues if it were made a scheduling
> point, we will certainly consider promising it won't be.

One day we surely want the Java runtime, class loading included, to be
written in Java. Therefore, we should be ready for all blocking events
in the VM one day to be scheduling points. No?  It's not a good thing
that class loading blocks a carrier thread, more an artifact of the
current implementation.

-- 
Andrew Haley  (he/him)
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
https://keybase.io/andrewhaley
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671



More information about the loom-dev mailing list