Actually Project Loom is all about providing user mode threads to the JVM, so no more context switches and large memory footprint. Their objective is to be able to support millions of lightweights threads on a JVM that could normally only handle thousands of threads.
Regards, Serge... On Wed, Feb 13, 2019 at 2:41 PM Ranx <r...@enjekt.org> wrote: > > One thing I forgot to mention when I brought this up is how fast threading in > the JVM might be in a unikernel. Because the JVM/Karaf is running in a > single process in the kernel, thread switching would not involve the > laborious user mode to kernel mode switches that current thread switching > does. > > So not only would this eliminate the overhead of virtual machine, operating > system, and Docker, it would make the JVM's threading operate faster. So > even if the unikernel isn't the most performant right out of the box, it > gets some big boosts and over time one would expect it to get even better. > > That's why I thought I'd ask if anyone here has been working with it as I > suspect in two or three years they will take the world by storm. > > > > -- > Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html