> 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 incrementally with one additional commit since the last revision: Re-enable running the test with the Musl library and Alpine. ------------- Changes: - all: https://git.openjdk.org/jdk/pull/30223/files - new: https://git.openjdk.org/jdk/pull/30223/files/9e90b649..2fab2f8b Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=30223&range=02 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=30223&range=01-02 Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 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
