RFR 8154525, java/net/ServerSocket/ThreadStop.java fails intermittently with error while cleaning up threads after test

Felix Yang felix.yang at oracle.com
Tue Sep 27 08:35:46 UTC 2016


Chris,

     I will push without othervm

-Felix
On 2016/9/27 16:29, Chris Hegarty wrote:
> On 27 Sep 2016, at 09:25, Felix Yang <felix.yang at oracle.com> wrote:
>> Hi Chris,
>>
>>     updated as suggested
>>
>> http://cr.openjdk.java.net/~xiaofeya/8154525/webrev.01/
> Looks good to me.
>
> Up to you, but with the thread join ( if my hunch is correct ) we may not
> actually need othervm, but of course it should be fine with it too.
>
> -Chris.
>
>> Thanks,
>> Felix
>> On 2016/9/27 15:55, Chris Hegarty wrote:
>>>> On 27 Sep 2016, at 03:08, Felix Yang <felix.yang at oracle.com> wrote:
>>>>
>>>> Hi all,
>>>>
>>>>     please review following test fix.
>>>>
>>>> Bug:
>>>>
>>>>     https://bugs.openjdk.java.net/browse/JDK-8154525
>>>>
>>>> Webrev:
>>>>
>>>>     http://cr.openjdk.java.net/~xiaofeya/8154525/webrev.00/
>>>>
>>>> This test has been observed to fail sometimes with "Error while cleaning up threads after test ", even after test complete message printed. Updated it to run with othervm mode.
>>> I think this is fine. Additionally, should the main thread wait/join
>>> the “Server” thread before exiting, to ensure that it is complete
>>> before the test returns ( this would eliminate any potential race
>>> while cleaning up ).
>>>
>>> -Chris.



More information about the net-dev mailing list