[RFA] Patch: Fix PosixProcess / PR libgcj 11801

David Daney ddaney@avtrex.com
Sun Aug 8 17:17:00 GMT 2004


David Daney wrote:
> This is the second version of the patch posted here:
> 
> http://gcc.gnu.org/ml/java-patches/2004-q3/msg00378.html
> 
> The main aim of the patch is two fold:
> 
> 1) Don't leave zombie processes around.
> 2) Allow waitFor() from a different thread than that which started the
> Process.
> 
> 
> I made all of the changes suggested by Bryce McKinlay except for
> converting all Process implementations (Posix, Win32, Ecos...) to use
> their real names instead of ConcreteProcess and modifying the
> configure/build process to match.
> 
> 
> Tested on both i686-pc-linux-gnu (Fedora Core 1, NPTL) and
> mipsel-linux-gnu (glibc 2.2.5) with no regressions, with additional
> tests   from here:
> 
> http://gcc.gnu.org/ml/java-patches/2004-q3/msg00451.html
> 
> 

New version (3rd ?) to address file descriptor leakiness as described by
Andrew Haley in this thread:

http://gcc.gnu.org/ml/java-patches/2004-q3/msg00464.html

Passed the same tests with no regressions.

Andrew, could you try this and if you are happy with it, get Bryce
and/or Tom Tromey to approve it so I can commit it.

OK to commit?

David Daney.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: PosixProcess.diffx.1
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20040808/9c481b0e/attachment.ksh>


More information about the Java-patches mailing list