logoalt Hacker News

ackfoobar • today at 6:29 AM • 0 replies • view on HN

>> 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.