You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Rupert Smith (JIRA)" <qp...@incubator.apache.org> on 2007/09/25 17:31:50 UTC

[jira] Closed: (QPID-605) Tests hang with numerous threads waiting to be notified inside AMQSession

     [ https://issues.apache.org/jira/browse/QPID-605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rupert Smith closed QPID-605.
-----------------------------

       Resolution: Fixed
    Fix Version/s: M2

Patch applied to M2 branch as r577931

> Tests hang with numerous threads waiting to be notified inside AMQSession
> -------------------------------------------------------------------------
>
>                 Key: QPID-605
>                 URL: https://issues.apache.org/jira/browse/QPID-605
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>    Affects Versions: M2
>         Environment: Any
>            Reporter: Robert Greig
>             Fix For: M2
>
>
> Tests hang because during session close all threads are blocked at:
> while (!_closed.get() && connectionStopped())
>                 {
>                     try
>                     {
>                         _lock.wait(); // HERE!!!!
>                     }
>                     catch (InterruptedException e)
>                     {
>                         // ignore
>                     }
>                 }
> or
>        while (connectionStopped())
>                         {
>                             _lock.wait(); // HERE!!!
>                         }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.