RFR 8177932 (process) java/lang/ProcessHandle/OnExitTest.java failed with "Process A should not be alive"
thomas.stuefe at gmail.com
Tue Sep 5 15:06:25 UTC 2017
this looks reasonable.
Best Regards, Thomas
On Tue, Sep 5, 2017 at 3:42 PM, Roger Riggs <Roger.Riggs at oracle.com> 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.
> ProcessHandle.isAlive considered zero to be missing information and the
> process was still alive.
> Thanks, Roger
More information about the core-libs-dev