RFR: JDK-8315026: java/lang/ProcessHandle/TreeTest.java fails intermittent on AIX in TreeTest.test5 [v2]

Thomas Stuefe stuefe at openjdk.org
Mon Oct 9 15:32:00 UTC 2023


On Mon, 9 Oct 2023 15:15:52 GMT, Joachim Kern <jkern at openjdk.org> wrote:

> 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.

Okay, thanks. Could you add this to the PR description so that when we look at this PR, we don't have to scroll through comment history? Ideally, this would be in the JBS bug description, too.

Cheers, Thomas

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

PR Comment: https://git.openjdk.org/jdk/pull/16051#issuecomment-1753229086


More information about the core-libs-dev mailing list