On Wed, 11 Oct 2023 14:07:00 GMT, Joachim Kern <jk...@openjdk.org> wrote:
>> The callers in ProcessHandlerImpl depend on knowing the parent pid for each >> process. >> They are used to find the descendants of a process. When reading /proc >> that's necessary. > > @RogerRiggs Roger you are most familiar with os_getChildren(). How would you > phrase the introducing comment of this function? How about this in both the _unix.c and _aix.c files: * Return pids of active processes, and optionally parent pids and start times * for each process. * For a specific non-zero pid, only the direct children are returned. * If the pid is zero, all active processes are returned. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/16051#discussion_r1355343311