[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-net-dev
Subject:    Re: RFR [12] 8211092: test/jdk/sun/net/www/http/HttpClient/MultiThreadTest.java fails
From:       Daniel Fuchs <daniel.fuchs () oracle ! com>
Date:       2018-09-28 10:30:54
Message-ID: 5122d5d2-2302-360b-16b1-97f4f9d14d38 () oracle ! com
[Download RAW message or body]

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.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic