sebb wrote: > On 16/09/2008, Simon Kitching <[EMAIL PROTECTED]> wrote: [snip] >> One other concern is regarding garbage collection. From a brief >> look at the code, this thread-local registry object contains a set >> of Integer hashcodes. With this change, the set will now contain >> real hard references to objects, preventing them from being >> garbage-collected while they are in the set. Does this matter? > > The entries are only retained in the registry during the hashcode > calculation - if any were left behind they could mess up subsequent > calls in the same thread. > > As far as I can see, the code always removes any items that are added, > but it would be worth double-checking that.
In that case forget my other comment ;-) - Jörg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]