3 ms·
> 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
by papercrane 3y ago
> 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.
- twic 3y agoOh, I thought they could also be scheduled at safepoints? Is that not in there yet, or not going in now?
- papercrane 3y agoThat's the plan, but it's not there yet.