geronimo-xbean-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy Gumbrecht (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (XBEAN-271) AsynchronousInheritanceAnnotationFinder deadlock
Date Fri, 08 Aug 2014 12:56:12 GMT

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

Andy Gumbrecht commented on XBEAN-271:
--------------------------------------

This fix is not the timeout - that is just candy.
The fix is the executior - Cannot use a single thread to run two concurrent processes.

I don't care how big the timeout is, but it should be a worst case figure - Romain suggests
30 minutes.

> AsynchronousInheritanceAnnotationFinder deadlock
> ------------------------------------------------
>
>                 Key: XBEAN-271
>                 URL: https://issues.apache.org/jira/browse/XBEAN-271
>             Project: XBean
>          Issue Type: Bug
>    Affects Versions: 3.18
>            Reporter: Andy Gumbrecht
>            Priority: Blocker
>         Attachments: AsynchronousInheritanceAnnotationFinder.java.patch
>
>
> An AsynchronousInheritanceAnnotationFinder deadlock occurs.
> I believe this due to the fact that the newSingleThreadExecutor is used - 
> Two tasks that depend on each other running concurrently are submitted, but only on can
run in this mode.
> The Executor should also be given a proper chance to shut down.
> Patch supplied.



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

Mime
View raw message