News for hackers. Stuff that matters.
Re:Re: 100k Threads? (2002) by papercrane on Saturday September 23, 2023 @09:18AM (#37622982)
> That said, i believe that in the current implementation of virtual threads on the JVM, it is possible that a tight loop that doesn't call any methods will not be rescheduled;

Right now virtual threads that don't enter into any blocking code won't be unscheduled by the JVM.

Re:Re: 100k Threads? (2002) by twic on Saturday September 23, 2023 @09:58AM (#37623269)
Oh, I thought they could also be scheduled at safepoints? Is that not in there yet, or not going in now?
Re:Re: 100k Threads? (2002) by papercrane on Saturday September 23, 2023 @11:26AM (#37624119)
That's the plan, but it's not there yet.