> From: Christopher Schultz [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat threads
>
> recent JVMs use shared memory to share common class data
> (like JITed object code from java.* packages)

Careful - JITed code is *not* shared - only some of the PermGen is, and that 
only on a -client JVM.  When running -server mode, nothing is shared across 
JVMs (that may change in Java SE 7 - haven't checked yet).  The PermGen 
contains loaded classes, but not JIT-generated code.

> > Each one will create new threads as needed to service
> > requests on *that* Connector, independently of the other
> > Connector.

Correct.  If you want a shared pool of threads, use an <Executor>, which Filip 
stated not to be a performance problem any more.

> Mmm.... maybe. I would argue that memory and thread count aren't the
> proper reasons for picking just one connector and sticking with it

Agreed; an idle thread consumes very little resources.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to