Thread Pools on the JVM
Loom can't land fast enough!<p>The current issue the JVM has is that all threads have a corresponding operating system thread.  That, unfortunately, is really heavy memory wise and on the OS context switcher.<p>Loom allows java to have threads as light weight as a goroutine.  It's going to change the way everything works.  You might still have a dedicated CPU bound thread pool (the common fork join pool exists and probably should be used for that).  But otherwise, you'll just spin up virtual threads and do away with all the consternation over how to manage thread pools and what a thread pool should be used for.