At 04:03 PM 4/17/01 -0400, you wrote:
>does anyone know how can i force java to use green threads?
>
>thanks

I don't know how, but why would you want to do it?
The native thread use should be more efficient. The only drawback is the 
the way that the
ps command displays the threads, but it is only a display issue. The 
threads aren't actually using up
all the memory that the ps command output suggests..
Ed

>-----Original Message-----
>From: Ansgar W. Konermann [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, April 12, 2001 8:31 PM
>To: [EMAIL PROTECTED]
>Subject: Re: to many tomcat processes!! AAH!!
>
>
>Hi,
>
>maybe the many processes are because jdk1.2 and up use native threads
>(AFAIK, 1.1 used "green" threads, i. e. a threading package implemented
>in java itself).
>
>With 1.2+, every java thread is a native OS thread and therefor gets
>listed by ps. Have you tried forcing java to use green threads? I'm
>quite sure that it is possible (RTFM).
>
>--
>Best regards,
>
>Ansgar W. Konermann
>eMail: [EMAIL PROTECTED]
>
>--- Hello, I am a message footer. -------------------------------------

Reply via email to