RFR: 8038963 com/sun/jdi tests fail because cygwin's ps sometimes misses processes

Daniel D. Daugherty daniel.daugherty at oracle.com
Fri Apr 11 16:28:57 UTC 2014


 > webrev: http://cr.openjdk.java.net/~sla/8038963/webrev.00/

test/com/sun/jdi/ShellScaffold.sh
    No comments other than thinking about those Win98 fixes
    brought back painful memories...

Thumbs up!

Dan


On 4/2/14 5:26 AM, Staffan Larsen wrote:
> We have had many intermittent failures in the com/sun/jdi tests recently. After much debugging it turns out that the cygwin version of ps sometimes misses some processes. Since the output of ps is used to determine if the tests should exit, this causes some problems… I suspect a recent update to cygwin, but haven’t been able to confirm that.
>
> This change stops using ps on cygwin and instead uses the builtin tasklist program on windows.
>
> I have also removed some old supporting code for Windows 98 (!).
>
> Tested by running the jdi tests over and over locally many times and also in jprt.
>
> webrev: http://cr.openjdk.java.net/~sla/8038963/webrev.00/
> bug: https://bugs.openjdk.java.net/browse/JDK-8038963
>
> Thanks,
> /Staffan



More information about the serviceability-dev mailing list