sebb wrote: > On 16/09/2008, Simon Kitching <[EMAIL PROTECTED]> wrote: [snip] >> It's not quite clear to me why a threadlocal is being used here. I'm >> guessing it is for performance to avoid recreating the HashSet >> object. > > I don't know for sure, but that is probably the case. > >> Or is >> it to "tunnel" the registry set between cooperating classes? > > Not at present, although the registy access methods are > package protected. > > That may be a mistake...
My guess: It's used in case of a circular object graph ... - Jörg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]