[ 
https://issues.apache.org/jira/browse/POOL-26?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12701165#action_12701165
 ] 

gurusamy subramaniam commented on POOL-26:
------------------------------------------

Hi Sandy McArthur,

This is with regards to above synchronization issues for GenericObjectPool' 
borrowobject method,

I can find that the above patch(synchronizing the borrowObject method and other 
changes) that you have provided is available with 1.3 version of Common Pool API

However as per the source of Apache common pool 1.4, the borrowObject method of 
the GenericObjectPool class is not completely synchronized (only a part of it 
is synchronized).

Can you please help us to understand if the borrowObject and returnObject 
methods of the GenericObjectPool of apache common pool 1.4 version are thread 
safe.

Regards,
Gurusamy.


> [pool] synchronization issues in GenericObjectPool
> --------------------------------------------------
>
>                 Key: POOL-26
>                 URL: https://issues.apache.org/jira/browse/POOL-26
>             Project: Commons Pool
>          Issue Type: Bug
>         Environment: Operating System: All
> Platform: All
>            Reporter: Sandy McArthur (from Bugzilla import)
>             Fix For: 1.3
>
>         Attachments: GenericObjectPool-synchronized.patch, 
> GenericObjectPool-synchronized.patch
>
>
> This patch implements the a fix for the synchronization issues found by Mayur
> Naik for GenericObjectPool

-- 
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