Re:Java Virtual Threads: A Case Study
by anonymousDan on Wednesday July 17, 2024 @04:59AM
(#40983799)
Does Java's implementation of virtual threads perform any kind of work stealing when a particular physical thread has no virtual threads to run (e.g. they are all blocked on I/O)?
[ Parent
| on HN ]
Re:Java Virtual Threads: A Case Study
by mike_hearn on Wednesday July 17, 2024 @05:59AM
(#40984155)
It does. They get scheduled onto the ForkJoinPool which is a work stealing pool.