You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Mark Thomas (JIRA)" <ji...@apache.org> on 2007/12/09 23:40:43 UTC
[jira] Updated: (POOL-93) Reduce contention by making borrow &
return more independent from each other
[ https://issues.apache.org/jira/browse/POOL-93?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Thomas updated POOL-93:
----------------------------
Attachment: pool-93-markt-v1.patch
The proposed patches all look good to me.
I have attached a new patch that:
- combines the two previous patches proposed
- aligns the GOP and GKOP code for the methods impacted by the patches
- implements all sync fixes identified by each patch for both GOP and GKOP
- narrows the syncs on borrowObject() for both
The new patch still passess all unit tests.
> Reduce contention by making borrow & return more independent from each other
> ----------------------------------------------------------------------------
>
> Key: POOL-93
> URL: https://issues.apache.org/jira/browse/POOL-93
> Project: Commons Pool
> Issue Type: Improvement
> Affects Versions: 1.1, 1.2, 1.3
> Reporter: Holger Hoffstätte
> Fix For: 1.4
>
> Attachments: GenericObjectPool.patch, GKOP-relaxedSyncOnReturn.patch, perf-patch-GenericPool.txt, pool-93-markt-v1.patch, relaxedReturnObjectBenchmark.txt
>
>
> Currently borrow & return are completely blocked from each other, while at least the factory-based validation & destruction can be handled independently. A few simple changes narrow the synchronization blocks yet retain overall correctness.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.