S
Sunny
Hi,
I am using the following java version in Linux
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Server VM (build 1.5.0_06-b05, mixed mode)
Threads are created using the source code:
private static ExecutorService thPool =
Executors.newFixedThreadPool(5);
My question is how threads are created in linux using the mentioned
runtime.
1. Does the code line above create 5 linux native threads (process)?
2. Does it create java threads? Don't know if java and native threads
are same.
3. If answer of the question 1 is "NO" then does one native linux
threads for java runtime do all the concurrent execution?
Please explain. Any documents on java threads in Linux for java 5?
Thanks in advance
Sunny
I am using the following java version in Linux
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Server VM (build 1.5.0_06-b05, mixed mode)
Threads are created using the source code:
private static ExecutorService thPool =
Executors.newFixedThreadPool(5);
My question is how threads are created in linux using the mentioned
runtime.
1. Does the code line above create 5 linux native threads (process)?
2. Does it create java threads? Don't know if java and native threads
are same.
3. If answer of the question 1 is "NO" then does one native linux
threads for java runtime do all the concurrent execution?
Please explain. Any documents on java threads in Linux for java 5?
Thanks in advance
Sunny