geronimo-xbean-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Romain Manni-Bucau (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (XBEAN-267) Improve thread-safety of AsynchronousInheritanceAnnotationFinder using double-checked locking
Date Tue, 20 May 2014 17:22:40 GMT

    [ https://issues.apache.org/jira/browse/XBEAN-267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14003667#comment-14003667
] 

Romain Manni-Bucau commented on XBEAN-267:
------------------------------------------

think we don't need it since async is designed to be triggered from a single thread, I'll
javadoc it

> Improve thread-safety of AsynchronousInheritanceAnnotationFinder using double-checked
locking
> ---------------------------------------------------------------------------------------------
>
>                 Key: XBEAN-267
>                 URL: https://issues.apache.org/jira/browse/XBEAN-267
>             Project: XBean
>          Issue Type: Improvement
>          Components: finder
>    Affects Versions: 3.17
>            Reporter: Matt Benson
>              Labels: patch
>
> where the {{CountDownLatch}} instances are created, use double-checked locking idiom
to ensure only one instance created.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message