Skip to content

Commit d53e9c5

Browse files
committed
[POOL-418] The maximum wait time for GenericObjectPool.borrowObject(*)
may exceed expectations due to a spurious thread wakeup - Revisit this issue with 2 changes - The remaining duration was incorrectly calculated and the method did not end up waiting long enough - Recompute the remaining duration an additional time when we block when exhausted
1 parent 1a9e8b7 commit d53e9c5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/changes/changes.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,10 @@ The <action> type attribute can be add,update,fix,remove.
4848
<release version="2.12.2" date="YYYY-MM-DD" description="This is a feature and maintenance release. Java 8 or later is required.">
4949
<!-- FIX -->
5050
<action type="fix" dev="ggregory" due-to="Gary Gregory">Remove -nouses directive from maven-bundle-plugin. OSGi package imports now state 'uses' definitions for package imports, this doesn't affect JPMS (from org.apache.commons:commons-parent:80).</action>
51-
<action type="fix" issue="POOL-418" dev="ggregory" due-to="Gary Gregory">The maximum wait time for GenericObjectPool.borrowObject(*) may exceed expectations due to a spurious thread wakeup.</action>
51+
<action type="fix" issue="POOL-418" dev="ggregory" due-to="Gary Gregory">The maximum wait time for GenericObjectPool.borrowObject(*) may exceed expectations due to a spurious thread wakeup.
52+
The remaining duration was incorrectly calculated and the method did not end up waiting long enough.
53+
Recompute the remaining duration an additional time when we block when exhausted.
54+
</action>
5255
<!-- ADD -->
5356
<!-- UPDATE -->
5457
<action type="update" dev="ggregory" due-to="Gary Gregory">Bump org.apache.commons:commons-parent from 79 to 81.</action>

0 commit comments

Comments
 (0)