On Monday Oct 18, 1999, Pierre Heroux wrote:

> I've downloaded JDK_1.2_pre-release-v2.
> Each time I run "java blah_blah.class" or invoke the JVM in a C++
> source, it looks as if the program is run several time. It appears 8
> times in the process list ("ps").
> 
> Is there something wrong ?

Nope.

The native threads implementation on Linux uses the clone() system
call to create different instances of the same process, all sharing
the same memory. These different 'threads' show up as individual
processes in a 'ps'.

-John


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to