commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sandy McArthur (JIRA)" <>
Subject [jira] Commented: (POOL-91) StackObjectPool.borrowObject infinate loop when makeObject returns null
Date Fri, 15 Dec 2006 21:11:23 GMT
    [ ] 
Sandy McArthur commented on POOL-91:

Ben, a pool can pool any "Poolable Object". That could be a Thread or just about any other
reusable object. There is a difference between a Pool of pooled Threads and Threads that are
part of the Pool but not the pooled objects themselves. The PoolableObjectFactory is sufficient
to manage the former but Executor needs a policy because it is the latter. 

I'm all for moving away from forcing the client code to deal with exceptions but sometimes
exceptions make sense. The Pool road map explains what I'm trying to do about that:

> StackObjectPool.borrowObject infinate loop when makeObject returns null
> -----------------------------------------------------------------------
>                 Key: POOL-91
>                 URL:
>             Project: Commons Pool
>          Issue Type: Bug
>            Reporter: Sandy McArthur
>         Assigned To: Sandy McArthur
>         Attachments: sample-borrow-fail-pool-policy.tar.bz2
> StackObjectPool.borrowObject has a infinate loop when makeObject returns null.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message