Avoid using VirtualMachine.list(). Use Process.pid() instead. Reviewed-by: dholmes
Reviewed-by: ihse
Co-authored-by: Mikhailo Seledtsov <mikhailo.seledtsov@oracle.com> Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com> Reviewed-by: dsamersoff, simonis, minqi