commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Schaible <Joerg.Schai...@scalaris.com>
Subject RE: [LANG] - suggestions for new Identity Hash code classes
Date Tue, 16 Sep 2008 13:56:08 GMT
sebb wrote:
> On 16/09/2008, Simon Kitching <skitching@apache.org> 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: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message