> From: Bill Davidson [mailto:bill...@gmail.com] 
> Subject: Re: iCal4j and ThreadLocal

> It seems to me that using static ThreadLocal's isn't going to
> save that much overhead vs. just creating a regular local object
> each time you run.

The above is even more true in modern JVMs with method inlining and escape 
analysis - such an object might not even be created on the heap, just on the 
stack and immediately discarded when the method creating it returns.

 - 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 unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to