Java 5 threads in linux

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

[849 byte] By [sunny0709a] at [2007-11-27 1:43:24]
# 1
What is your problem that makes you worry about those things?Java for Linux uses NPTL thread library for its thread.
hiwaa at 2007-7-12 1:01:20 > top of Java-index,Core,Core APIs...
# 2

> What is your problem that makes you worry about those things?

> Java for Linux uses NPTL thread library for its thread.

Browse the link to see what I wanted:

http://groups.google.com/group/comp.lang.java.programmer/browse_thread/thread/2848feac5cd52151/9b6f6bf226ca9ef0?lnk=raot#9b6f6bf226ca9ef0

sunny0709a at 2007-7-12 1:01:20 > top of Java-index,Core,Core APIs...
# 3

> > What is your problem that makes you worry about

> those things?

> > Java for Linux uses NPTL thread library for its

> thread.

>

> Browse the link to see what I wanted:

>

> http://groups.google.com/group/comp.lang.java.programm

> er/browse_thread/thread/2848feac5cd52151/9b6f6bf226ca9

> ef0?lnk=raot#9b6f6bf226ca9ef0

reply 1, again. I don't understand your problem yet.

hiwaa at 2007-7-12 1:01:20 > top of Java-index,Core,Core APIs...