logoalt Hacker News

za3faran • today at 4:36 AM • 1 reply • view on HN

Java's virtual threads are M:N.


Replies

ackfoobar • today at 6:29 AM

>> Preemptive scheduling plus M:N mapping

AFAIK, in the current implementation, Java's virtual threads yields only when they block (cooperative). But the spec allows a JVM to implement them as preemptive.