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

Joachim Kern jkern at openjdk.org
Wed Oct 11 10:57:24 UTC 2023


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

Joachim Kern has updated the pull request incrementally with one additional commit since the last revision:

  cosmetic changes 2

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/16051/files
  - new: https://git.openjdk.org/jdk/pull/16051/files/5b89bbb4..986ff9a0

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=16051&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=16051&range=02-03

  Stats: 37 lines in 1 file changed: 3 ins; 1 del; 33 mod
  Patch: https://git.openjdk.org/jdk/pull/16051.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/16051/head:pull/16051

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


More information about the core-libs-dev mailing list