Changing topics,
ok the cache logic to lock the instances is overly complex and frankly
buggy.
(the buzy wait for example).
One of the reasons for its complexity and some of the complex bugs is that
we reuse the contexts, I believe one of the very simple ways to simplify the
design is to BAN reuse of the wrapper (contexts) in the code, we only pay
the price at creation time, and as long as stuff is in memory you are ok...
There was also a lot of talk last year around "real men don't use pools,
they use modern VM technology" and while I don't know where that is at these
days it will simplify the design so much that I am really tempted..
any religious feelings?
marcf
_________________
Marc Fleury, Ph.D
[EMAIL PROTECTED]
_________________
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development