db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Knut Anders Hatlen <Knut.Hat...@Sun.COM>
Subject Re: Use of synchronized containers in engine code
Date Tue, 05 Dec 2006 15:11:49 GMT
Mike Matrigali <mikem_app@sbcglobal.net> writes:

> Knut Anders Hatlen wrote:
>> Hi,
>>
>> I think I once read that the engine code in some cases uses
>> synchronized containers because the code was written before the
>> unsynchronized containers were added to the JDK, and not because
>> synchronization was needed. Is that correct?
> yes, of course one needs to check as it may be the case that sync is needed.

Thanks, I have logged DERBY-2149 to replace synchronized collections
with unsynchronized ones in RAMTransaction, and DERBY-2150 to
investigate whether it is safe in GenericLanguageConnectionContext.

-- 
Knut Anders

Mime
View raw message