Thanks, Torsten. We will give feedback through the Jira issue.

Werner

Torsten Juergeleit wrote:
> Hi,
> 
> attached to  http://jira.codehaus.org/browse/CASTOR-2019 #CASTOR-2019  you
> can find a unit test which shows (on a reasonable sized multi-core system)
> that the current implementation of
> XMLClassDescriptorResolverImpl$DescriptorCacheImpl isn't thread-safe.
> 
> Another patch attached to #CASTOR-2019 introduces thread-safetyness to
> XMLClassDescriptorResolverImpl by synchronizing accesses to
> XMLClassDescriptorResolverImpl$DescriptorCacheImpl with a
> ReentrantReadWriteLock. To workaround the descriptor iterator issue the
> iterator is created on a copied list of the cached descriptors.
> 
> Cheers,
> Torsten

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to