he he he
it seems the garbage collection and object generation is real :)
marc f
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On
Behalf Of Bill Burke
Sent: Wednesday, September 11, 2002 12:00 AM
To: Jboss-Dev
Subject: [JBoss-dev] is pooling useless?
Well, if you are pooling fine grained objects you should not
use java.util.LinkedList to implement the pool. Whenever you
add an element to a LinkedList you are creating an auxiliary
Entry object, with fields `element', `next', and `previous'.
To do pooling of fine grained objects you should
Pooling is mostly useful if the object holds an expensive resource such as
a database connection. For just plain data I think the synchronization
costs of pooling things tend to outweigh the construction costs of making
new ones pretty quickly. Ole recently removed the (pooled) TxCapsule in