commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phil Steitz <phil.ste...@gmail.com>
Subject Re: [pool] 1.5-RC2 available for review
Date Tue, 02 Jun 2009 02:02:05 GMT
 
>>  >
>>
>>
>> I just tried using the fixed numbers from a failed run (instead of
>>  using random ones), and it fails every time with the following
>>  settings:
>>
>>  runs=26
>>  Lengths=12,12,28
>>
>>  So it's clearly some kind of logic error - looks like it occurs where
>>  "runs" is an exact multiple of "totalInstances".
>>     
>
> s/multiple/divisor/
>
> As an experiment, I tried switching the order of the entries in the
> smallPrimes array to 3,2,5,7.
>
> I expected the test to fail on the second loop, but it did not fail.
>
> I think this must mean that pool.clear() does not reset the pool fully.
>
>   
Bingo!  Clear was not fully clearing the pool.  Should be fixed now. 
Thanks, sebb for hunting this down.

Phil
>  
>   



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message