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

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

Build:
Build:
LAST BUILD BRANCH: master
DEFAULT BRANCH: trunk
Ran 24 Oct 2018 07:45PM UTC
Files 48
Run time 3s
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

24 Oct 2018 07:30PM UTC coverage: 85.073% (+0.2%) from 84.922%
215.3

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

2519 of 2961 relevant lines covered (85.07%)

85617.88 hits per line

Source Files on job 215.3
  • Tree
  • List 0
  • Changed 14
  • Source Changed 1
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 201
  • Travis Job 215.3
  • ee497151 on github
  • Prev Job for on POOL-356 (#209.2)
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