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

(process) ProcessHandle.isAlive should be robust

    XMLWordPrintable

Details

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

    Backports

      Description

        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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: