[jdom-interest] Re: static data needs to be thread data for multithreaded applications

Jason Hunter jhunter at collab.net
Mon Sep 25 22:53:16 PDT 2000


> In a long running use of the Namespace class like a servlet engine 
> or a SOAP processor, couldn't the hashmap eventually get really 
> large?  

Yep.  Weak references would come to the rescue.  I added a note in the
code to mark this as a future possibility.  (I'm postponing action
because it's potentially a lot of code and testing in an area that's
been changing, and because weak refs don't work in JDK 1.1.)

-jh-



More information about the jdom-interest mailing list