> 8379182: [test] java/lang/ProcessBuilder/PipelineLeaksFD.java fails
> Invoking lsof as a child process lead to races between parent and child that 
> affected the open file descriptors.
> 
> Replace use of lsof with native code to test file descriptors that are pipes 
> and show the inode number for debugging. 
> Simple counts of pipe file descriptors are used to look for leaking fds.
> This implementation works on Mac and Linux.
> It may work Musl and Alpine (unconfirmed) and could remove the @requires 
> restriction.

Roger Riggs has updated the pull request with a new target base due to a merge 
or a rebase. The pull request now contains two commits:

 - Merge remote-tracking branch 'origin/master' into 8379182-pipeline-leaks-fd2
 - Replace use of ldof with native code to test file descriptors
   that are pipes and show the inode number for debugging.
   Simple counts of pipe file descriptors are used to look for leaking fds.

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

Changes: https://git.openjdk.org/jdk/pull/30223/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=30223&range=01
  Stats: 311 lines in 3 files changed: 124 ins; 153 del; 34 mod
  Patch: https://git.openjdk.org/jdk/pull/30223.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/30223/head:pull/30223

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

Reply via email to