Re: threads, JVMs and recycling

Nic Ferrier <[email protected]> 18 Oct 2004 13:29:28 +0100
Newsgroups gmane.comp.java.advanced-servlets
Message-ID <[email protected]>
luca <[email protected]> writes:

> Hi experts!
> 
> Do JVMs recycle threads?
> 
> this is what Doug Lea seems to say here:
> 
> http://gee.cs.oswego.edu/dl/classes/EDU/oswego/cs/dl/util/concurrent/PooledExecutor.java

The short answer is: which JVMs?

 
> I need to understand this to figure out if I have to go through the
> pain of implementing a rather complex Thread Pooling system, since
> it may be unnecessary....

I'd go and have a look at the source of some free VMs to see what they
do.

GCJ and Kaffe's implementation might be good starts. Also SableVM and
others. But I think you'll find it varies. I'd guess that BEA's VM
will recycle threads, maybe Sun's server one does...


Nic


------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~-> 

Before posting a question, try to find your answer here: 
<http://www.egroups.com/links/advanced-servlets>
Announcements should go to: [email protected]
To Post a message, send it to: [email protected]
To Unsubscribe, send a blank message to: [email protected] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/advanced-servlets/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/