[PATCH][RFA] Reap children on stack trace generation.

Tom Tromey tromey@redhat.com
Fri Jul 9 17:14:00 GMT 2004


>>>>> "David" == David Daney <ddaney@avtrex.com> writes:

David> natPosixProcess.cc has a related problem.  First it forks, but if the
David> exec fails, the child is not reaped.

If the exec fails, do we really need the kill()?

Otherwise this is looking good.  But also see
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11801
The thing is, even with this patch we need a fix for the case where
the user just expects the process to be GCd and reaped without an
explicit waitFor call.

Tom



More information about the Java-patches mailing list