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

(process) ProcessHandle should uniquely identify processes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      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

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

                  Dates

                  Created:
                  Updated:
                  Resolved: