X
xu_feng_xu
Hi,
It seems that the Java Virtual Machine uses the 1:1 threading mapping
model. According to the theory of this model, all the threads
management and synchronisation are done in the kernel. In particular,
the switching between threads requires kernel intervention and system
calls, which really surprises me considering the speed and
instantaneous execution of some multithreaded applications that i am
running.
Is Java based application threads switching done in the kernel and
through system calls?
Where can i set in JVM another threading model (many to many, one to
one)?
Is there any free profilers which summarize the applications threads
execution and switching durations?
Many thanks
It seems that the Java Virtual Machine uses the 1:1 threading mapping
model. According to the theory of this model, all the threads
management and synchronisation are done in the kernel. In particular,
the switching between threads requires kernel intervention and system
calls, which really surprises me considering the speed and
instantaneous execution of some multithreaded applications that i am
running.
Is Java based application threads switching done in the kernel and
through system calls?
Where can i set in JVM another threading model (many to many, one to
one)?
Is there any free profilers which summarize the applications threads
execution and switching durations?
Many thanks