Process trees and termination

Paul Benedict pbenedict at
Thu Jun 26 13:43:28 UTC 2014

I have a question on the way this is modeled. By introducing a superclass,
Process becomes a type of ProcessHandle. That doesn't seem right to me. I
expect a Process to have a handle (not be one). Also I think these
operations may make more sense as an interface.


On Wed, Jun 25, 2014 at 4:52 PM, roger riggs <roger.riggs at> wrote:

> Hi,
> The next step for JEP 102, Process API Updates is to provide an API to
> enumerate the hierarchy of processes and to be able to terminate a process
> tree.
> This draft javadoc <http://bussund0416/%7Erriggs/pdoc/>update [1]
> includes:
>  - ProcessHandle class to provide handles to processes, their children,
>     parent, process id and liveness
>  - Process extends ProcessHandle and inherits the new behaviors
>  - Method destroyProcessTree() terminates a process tree
> Additional functions related to termination and information about processes
> will be added in a later update.
> Comments appreciated, Roger
> [1]

More information about the core-libs-dev mailing list