Potential issue with CHM.toArray

Doug Lea dl at cs.oswego.edu
Mon Sep 2 11:18:58 UTC 2013

On 08/28/2013 09:13 AM, Peter Levart wrote:
> On 08/28/2013 12:10 PM, Paul Sandoz wrote:
>> Hi,
>> Intermittent failures were reported with the CHM toArray test in the JDK.
>> I updated the tests to increase the number of runs and the number of workers
>> and i can reliably reproduce on my laptop, see below.
>> The test presumes the size should always increase but fails when it observes a
>> new new size less than the previously observed size.
>> Is that a valid assumption?
> I guess it should be a valid assumption.

Thanks to Peter for a good suggestion for preserving this
assumption without needing to block (or messily avoid blocking)
on traversal, and to Paul for helping to re-test. An update is
now in our CVS and in lambda, so can also now move to tl.


More information about the core-libs-dev mailing list