Hi Matt.

At 12:37 PM 7/16/99 -0400, Matthew Carpenter wrote:
>IBM released a paper about optimizing Java code for high-performance
>applications.  One of the tips that they suggested is reusing objects,
>as object creation takes a lot of time.  I am writing a server and I'm
>attempting to reuse Threads and the Runnable objects they use.  How can
>I reuse these things???

Thread caches can work nicely for this.

See http://www.javaworld.com/javaworld/jw-05-1999/jw-05-toolbox.html

for a decent article about them.

Scott


---------------------------------------------------------------------------
Scott B. Lewis, Ph.D
503.288.4356
[EMAIL PROTECTED]
http://www.slewis.com
http://www.sharethis.com
ICQ:  1815130
"IAAMOAC" -- SF Author David Brin:  http://www.kithrup.com/brin/

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to