[
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-v2.patch
I have attached a new patch that incorporates the proposed fix for POOL-108.
This makes the assertOpen() test occur in a thread safe manner. POOL-108
patched GOP, this patch ports the same changes to GKOP.
On a similar note, I forgot to mention that the previous version also included
changes so the use of isClosed() was thread-safe.
v2 of the patch should now be a complete patch for the sync improvements
suggested here and for POOL-108.
> 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-v2.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.