<div dir="ltr"><p style="border:0px solid rgb(217,217,227);box-sizing:border-box;margin:1.25em 0px">Hello, <br><br>I was reading JEP 444, which discusses the implementation of Virtual Threads. I've observed that the JDK's virtual thread scheduler employs a work-stealing ForkJoinPool operating in FIFO mode, which is distinct from the common pool operating in LIFO mode.<br><br>This has sparked my curiosity because ForkJoinPool, to my understanding, has not traditionally been designed to handle I/O-bound tasks. However, the design of virtual threads seems to be aimed precisely at addressing such tasks.<br><br>Therefore, I'm curious as to why Java has opted to use the ForkJoinPool for scheduling virtual threads. I would greatly appreciate it if you could shed some light on what makes this design choice effective in managing I/O-bound tasks, despite the ForkJoinPool's traditional usage patterns.<br><br>Thank you for your time and consideration. I look forward to your insights on this subject.<br><b style="color:rgb(34,34,34);font-family:"trebuchet ms",sans-serif;font-size:small;white-space:pre-wrap;background-color:rgb(255,255,255)">

Thank you,</b><br></p><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><font face="trebuchet ms, sans-serif"><b>-</b></font></div><div dir="ltr"><font face="trebuchet ms, sans-serif"><b>A N M Bazlur Rahman</b></font></div><div dir="ltr"><br></div><div dir="ltr">---<br><i>"And say: 'My Lord, increase me in knowledge.'" - Quran 20:114.</i><br><br><b><font face="monospace">Java Champion</font></b></div><div><b><font face="monospace">Software Engineer</font></b></div><div><font face="monospace">JUG Leader, <a href="https://mailtrack.io/trace/link/331a3fc3a3fa6407b1c1a71207d689d0bc35baca?url=http%3A%2F%2FJUGBD.org&userId=2428395&signature=31820ea85face89b" target="_blank">JUGBD.org</a></font></div><div><span style="color:rgb(136,136,136)"><font color="#336666" face="monospace"><span style="color:rgb(0,0,0)">Java Queue Editor, <a href="https://mailtrack.io/trace/link/4e67b5f2b63d9a192a80a28578b56f26ab3495b9?url=https%3A%2F%2Fwww.infoq.com%2Fprofile%2FA-N-M-Bazlur-Rahman%2F&userId=2428395&signature=0e89d13e753a8ce2" style="color:rgb(17,85,204)" target="_blank"><span style="color:green"></span>InfoQ</a><br>Editor at <a href="https://mailtrack.io/trace/link/ae78bc70831add10a5229ae14321984a51f052eb?url=https%3A%2F%2Ffoojay.io%2Ftoday%2Fauthor%2Fbazlur-rahman%2F&userId=2428395&signature=8a905c0967fa07c1" target="_blank"><span style="color:green"></span>Foojay.io</a></span></font></span></div><div><span style="color:rgb(136,136,136)"><font color="#336666" face="monospace"><span style="color:rgb(0,0,0)"><a href="https://mailtrack.io/trace/link/040f4646e384e62ba0900a14bc61657dbcec43b2?url=https%3A%2F%2Fbazlur.ca%2Fabout%2F&userId=2428395&signature=fc5823af331c641e" target="_blank"><span style="color:green"></span>About Me</a></span></font></span></div><div><font face="monospace"><a href="https://mailtrack.io/trace/link/130dee54b46a76f0c11f910de05c700cdda0bb77?url=https%3A%2F%2Fbazlur.ca%2F&userId=2428395&signature=90ba6ea5871c4665" target="_blank">https://bazlur.ca/</a></font><br></div></div></div></div></div></div></div></div></div></div><img width="0" height="0" class="mailtrack-img" alt="" style="display:flex" src="https://mailtrack.io/trace/mail/9c9a8ac015779604b0571e7eaf2e74b3dd701dc6.png?u=2428395"></div>