[External] : Re: Experience using virtual threads in EA 23-loom+4-102

Ron Pressler ron.pressler at oracle.com
Thu Jul 4 18:09:29 UTC 2024



> On 3 Jul 2024, at 18:18, Sam Pullara <spullara at gmail.com> wrote:
> 
> As a developer trying to use this stuff, I 100% agree that fair is better. If I need something that isn't fair, I can do that myself.

It’s not a question of agreement or preference, but of an actual problem we can solve and know that we’ve solved. We need realistic examples of server workloads where time sharing could help the virtual thread scheduler (and not examples where there are even better solultions without introducing time sharing into the scheduler) before we can change the scheduler to use it. We don’t want to introduce a “solution” without knowing exactly what problem it aims to solve.

However, if and when we expose custom schedulers, they could choose to use time sharing whether it is justified or not.

— Ron


More information about the loom-dev mailing list