RFR 8177932 (process) java/lang/ProcessHandle/OnExitTest.java failed with "Process A should not be alive"
David Holmes
david.holmes at oracle.com
Tue Sep 5 21:43:20 UTC 2017
Hi Roger,
This seems quite reasonable.
Thanks,
David
On 5/09/2017 11:42 PM, Roger Riggs wrote:
> Please review a fix for an intermittent issue with ProcessHandle.onExit.
> On Solaris, the start time of a process reported through
> /proc/pid/psinfo changes to
> zero when the process is exiting. The onExit implementation incorrectly
> interpreted zero
> meaning the pid had been re-used and the process was no longer alive.
> However,
> ProcessHandle.isAlive considered zero to be missing information and the
> process was still alive.
>
> Webrev:
> http://cr.openjdk.java.net/~rriggs/webrev-onexit-8177932/
>
> Issue:
> https://bugs.openjdk.java.net/browse/JDK-8177932
>
> Thanks, Roger
>
More information about the core-libs-dev
mailing list