Re: [pool] getNumActive returning -1

2011-06-08 Thread Phil Steitz
On 6/8/11 6:31 AM, Mark Thomas wrote: > On 06/06/2011 08:34, Phil Steitz wrote: >> On 6/5/11 7:32 PM, Phil Steitz wrote: >>> The AbandonedObjectPool test case that I just commented out in >>> [dbcp] trunk is failing because GOP getNumActive returns -1. My >>> first thought was that this is a timin

Re: [pool] getNumActive returning -1

2011-06-08 Thread Mark Thomas
On 06/06/2011 08:34, Phil Steitz wrote: > On 6/5/11 7:32 PM, Phil Steitz wrote: >> The AbandonedObjectPool test case that I just commented out in >> [dbcp] trunk is failing because GOP getNumActive returns -1. My >> first thought was that this is a timing issue due to lack of >> synchronization in

Re: [pool] getNumActive returning -1

2011-06-06 Thread Phil Steitz
On 6/5/11 7:32 PM, Phil Steitz wrote: > The AbandonedObjectPool test case that I just commented out in > [dbcp] trunk is failing because GOP getNumActive returns -1. My > first thought was that this is a timing issue due to lack of > synchronization in invalidate and general non-protection of > _a

[pool] getNumActive returning -1

2011-06-05 Thread Phil Steitz
The AbandonedObjectPool test case that I just commented out in [dbcp] trunk is failing because GOP getNumActive returns -1. My first thought was that this is a timing issue due to lack of synchronization in invalidate and general non-protection of _allObjects and _idleObjects; but I can't demonstr