Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8078108

(process) ProcessHandle.isAlive should be robust

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • core-libs
    • None
    • b74

        The implementation of ProcessHandle.isAlive should be more robust
        and handle OS failure to return the process status.
        The current implementation on Linux uses kill(0); If the OS denies access to kill
        the implementation may incorrectly report the process is alive.
        Additional measures like reading /proc/pid should be added.

              rriggs Roger Riggs
              rriggs Roger Riggs
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: