• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

apache / commons-pool / 215
85%
trunk: 85%

Build:
Build:
LAST BUILD BRANCH: master
DEFAULT BRANCH: trunk
Ran 24 Oct 2018 07:44PM UTC
Jobs 3
Files 48
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
215

Pull #11

travis-ci

web-flow
POOL-356 fix deadlock on massive concurrent requests

Happens when blockWhenExhausted is active.
The idleObjects.takeFirst and .pollFirst operations perform a lock.
So if the pool is empty and the MaxTotal is hit we end up having multiple
Threads perform a lock internally via idleObjects.takeFirst().

But if a condition occurs to destroy the object instead of putting it back into the pool
then nobody notifies the Lock Condition.

The proposed solution will simply create a new object in that case and puts
it back into the idle queue IF there are active threads waiting for
some idle objects.
Pull Request #11: POOL-356 add unit test for the deadlock

3 of 3 new or added lines in 1 file covered. (100.0%)

2522 of 2961 relevant lines covered (85.17%)

329995.25 hits per line

Jobs
ID Job ID Ran Files Coverage
1 215.1 24 Oct 2018 07:45PM UTC 0
85.07
Travis Job 215.1
2 215.2 24 Oct 2018 07:44PM UTC 0
85.11
Travis Job 215.2
3 215.3 24 Oct 2018 07:45PM UTC 0
85.07
Travis Job 215.3
Source Files on build 215
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #215
  • Pull Request #11
  • PR Base - master (#209)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc