Issue Details (XML | Word | Printable)

Key: POOL-113
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Sebb
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Commons Pool

Inconsistent synch in InvalidEvictorLender, GenericKeyedObjectPool, GenericObjectPool

Created: 09/Dec/07 01:19 AM   Updated: 20/Dec/07 12:29 AM
Return to search
Component/s: None
Affects Version/s: None
Fix Version/s: 2.0

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works InvalidEvictorLender.txt 2007-12-09 01:19 AM Sebb 0.8 kB


 Description  « Hide
InvalidEvictorLender does not always synchronize referant field.

Patch to follow - please check that the correct synch object is used.

Similar problems apply to GenericKeyedObjectPool:

Inconsistent synchronization of org.apache.commons.pool.impl.GenericKeyedObjectPool._testOnBorrow; locked 66% of time
GenericKeyedObjectPool.java line 913
Inconsistent synchronization of org.apache.commons.pool.impl.GenericKeyedObjectPool._testOnReturn; locked 66% of time
GenericKeyedObjectPool.java line 1096

And to GenericObjectPool:

Inconsistent synchronization of org.apache.commons.pool.impl.GenericObjectPool._testOnBorrow; locked 66% of time
GenericObjectPool.java line 915
Inconsistent synchronization of org.apache.commons.pool.impl.GenericObjectPool._testOnReturn; locked 66% of time
GenericObjectPool.java line 1017



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.