RFR [12] 8211092: test/jdk/sun/net/www/http/HttpClient/MultiThreadTest.java fails intermittently when cleaning up
Daniel Fuchs
daniel.fuchs at oracle.com
Fri Sep 28 10:30:54 UTC 2018
Thanks Chris. Looks good!
best regards,
-- daniel
On 28/09/2018 10:41, Chris Hegarty wrote:
>
> On 27/09/18 14:28, Daniel Fuchs wrote:
>> Hi Chris,
>>
>> Good finding!
>>
>> I agree with the principle, but I think that strictly speaking
>> it would be more correct if the server's workers ArrayList was
>> changed into a ConcurrentLinkedQueue.
>>
>> The main could then poll the queue & join until it's empty
>> (or alternatively use forEach)
>
> Good suggestion. Done.
>
> http://cr.openjdk.java.net/~chegar/8211092.02/
>
> -Chris.
More information about the net-dev
mailing list