> Thanks for the infos.
> 
> Question are green thread slower than native threads ?
> 

Well, hard to answer. A common opinion is that green threads
are slower because the JVM has to do a lot of additional work
like dispatching/serializing signals and other stuff for the 
green threads.

On the other side creating native threads is an expensive operation.
Especially on Linux, where threads are heavy-weight system processes.
For applications which often create threads (e.g. servers) this could be
a major drawback. The situation changes, of course, if thread pools
are used.

The most praised benefit of native threads: A multithreaded application
can be concurrently processed on a SMP machine by its processors.

Reply via email to