Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8136137 | emb-9 | Roger Riggs | P3 | Resolved | Fixed | team |
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
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
- backported by
-
JDK-8136137 (process) ProcessHandle should uniquely identify processes
-
- Resolved
-
- is blocked by
-
JDK-8129344 (process) ProcessHandle instances should define equals and be value-based
-
- Closed
-
-
JDK-8077350 JEP 102 Process API Updates Implementation
-
- Resolved
-