Phil Steitz <phil.ste...@gmail.com> wrote: >I saw this >Failed tests: > >testMaxTotalInvariant(org.apache.commons.pool2.impl.TestGenericKeyedObjectPool): >Thread failed: 2 >java.lang.IllegalStateException: Returned object not currently part >of this pool > at >org.apache.commons.pool2.impl.GenericKeyedObjectPool.returnObject(GenericKeyedObjectPool.java:1158) > at >org.apache.commons.pool2.impl.TestGenericKeyedObjectPool$TestThread.run(TestGenericKeyedObjectPool.java:1582) > at java.lang.Thread.run(Thread.java:680) > >I also get these regularly when running load tests using [performance]. > >I added some instrumentation to GKOP to dump out >objectDeque.getAllObjects().size() and it is always 0 for the key >when this happens. > >Phil > >--------------------------------------------------------------------- >To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org >For additional commands, e-mail: dev-h...@commons.apache.org
Drat. I saw the same issue and I thought I had fixed it. Obviously not. I'll take a look but for those of you that like concurrency puzzles, some extra eyes on the code would probably help. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org