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

(process) ProcessHandle should uniquely identify processes

    XMLWordPrintable

Details

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

    Backports

      Description

        Process ids have a lifetime co-incident with the life of the process.
        Theoretically, the pid can be re-used immediately after process termination.
        To ensure that actions on a ProcessHandle act on the intended process,
        a value unique to the process should be included in the check for equality
        and checked on each action on the process.
        It has been suggested that the process start time can fulfill this need.

        Ref: http://mail.openjdk.java.net/pipermail/core-libs-dev/2015-April/032883.html

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: