Just modified NDC so as it uses a ThreadLocal as ht instead of a
Hashtable
with the threads as keys. This acts functionally equivalent, but no longer need for lazy-references removal (lazyRemove method) as
ThreadLocals
are garbaged when threads are terminated.
do you feel it correct ?
I submitted a bug with updated code that does exactly this a while ago for the same reasons, performance in a J2EE environment.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25890
It doesn't appear as though any of the committers has adopted it however, despite the fact that I discussed the changes beforehand.
Ray
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
