Re: RFR [15] 8236825: Reading output from ... using ProcessBuilder/Process might hang

2020-01-23 Thread Roger Riggs
Hi Paul, yes, other potential changes in low level I/O should probably happen first.  Will check. On 1/22/20 3:31 PM, Paul Sandoz wrote: My sense is it is fixing a marginal case for the less dominant platform where this is less likely arise, whereas for the dominant platform there is still

Re: RFR [15] 8236825: Reading output from ... using ProcessBuilder/Process might hang

2020-01-22 Thread Paul Sandoz
My sense is it is fixing a marginal case for the less dominant platform where this is less likely arise, whereas for the dominant platform there is still an issue. Waiting for a non-blocking native read is a reasonable approach (IIUC that is required for the desired proper fix). It would be

RFR [15] 8236825: Reading output from ... using ProcessBuilder/Process might hang

2020-01-21 Thread Roger Riggs
Please review a potential way to address two issues of java.lang.Process deadlocks during process exit. [1] [2] (Linxu OS process expertise appreciated). The deadlock is between some thread reading process output from a process that has exited and the processExited thread that is attempting to