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

Rob Godfrey reassigned QPID-327:
--------------------------------

    Assignee: Rob Godfrey

> [race condition] PoolingFilter : Possible race condition when completing a Job
> ------------------------------------------------------------------------------
>
>                 Key: QPID-327
>                 URL: https://issues.apache.org/jira/browse/QPID-327
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Common
>            Reporter: Rob Godfrey
>         Assigned To: Rob Godfrey
>         Attachments: QPID-327.patch
>
>
> In the following code:
>     //Job.JobCompletionHandler
>     public void completed(IoSession session, Job job)
>     {
>         if (job.isComplete())
>         {
>             job.release();
>             if (!job.isReferenced())
>             {
>                 _jobs.remove(session);
>             }
>         }
>  
> Another thread could acquire() the job between the call to job.isReferenced() 
> and _jobs.remove(session);

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

Reply via email to