On Thu, 5 Oct 2023 10:02:05 GMT, Joachim Kern <jk...@openjdk.org> wrote:

> We see rather often failures in java/lang/ProcessHandle/TreeTest.java on AIX 
> in TreeTest.test5.
> The reason is: Previously the implementation based on the /proc file system 
> lead to double pids in the child list; at least intermittent. Using the API 
> getprocs64() instead I was able to eliminate those double pids (and increase 
> the performance by a factor of 4). Otherwise we would have to add an 
> algorithm to filter out the doubles after creating the raw list.

This pull request has now been integrated.

Changeset: 4d904204
Author:    Joachim Kern <jk...@openjdk.org>
Committer: Matthias Baesken <mbaes...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/4d9042043ecade75d50c25574a445e6b8ef43618
Stats:     139 lines in 2 files changed: 130 ins; 0 del; 9 mod

8315026: ProcessHandle implementation listing processes on AIX should use 
getprocs64

Reviewed-by: rriggs, stuefe, mbaesken

-------------

PR: https://git.openjdk.org/jdk/pull/16051

Reply via email to