JEP 102 Process Updates revised API draft

Staffan Larsen staffan.larsen at oracle.com
Tue Feb 10 09:53:45 UTC 2015


Happy to see this!

In ProcessHandle.Info would it be possible to include the environment variables of the process as well?

How does ProcessHandle.allChildren() behave when process A launches B which launches C, and B terminates? Is C included in allChildren() of A?

Thanks,
/Staffan

> On 10 feb 2015, at 00:25, Roger Riggs <Roger.Riggs at Oracle.com> wrote:
> 
> Hi,
> 
> After a protracted absence from working on JEP 102, the updated API draft
> provides access to process hierarchies and individual process information;
> as permitted by the OS. The relationship between Process and ProcessHandle
> is clarified and the security model validated.
> 
> Both Processes and ProcessHandles can be monitored using CompletableFuture
> for termination and to trigger additional actions on Process exit.
> Information about processes includes the total cputime, starttime, user,
> executable, and arguments.
> 
> Please review and comment:
>   http://cr.openjdk.java.net/~rriggs/ph-apidraft/
> 
> Thanks, Roger
> 
> 
> 
> 




More information about the core-libs-dev mailing list