RFR: 8000817: Reinstate accidentally removed sleep() from ProcessBuilder/Basic.java

Martin Buchholz martinrb at google.com
Fri Oct 12 18:25:53 UTC 2012

On Fri, Oct 12, 2012 at 11:06 AM, Alan Bateman <Alan.Bateman at oracle.com>wrote:

> The way the code's been written, it should now be robustly race-free on
> Solaris.  Do you actually see racy failures on other OSes?
>  Yes, here's an example on Linux with a build of jdk8/tl that has Rob's
> last change:
Yeah, this kind of race is hard to eradicate.  The bug remains on Linux?

Maybe we should throw away what we did and instead loop until we see
something like

java.io.FileInputStream.readBytes(Native Method)

in the read-ing thread's stack trace.

More information about the core-libs-dev mailing list