This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]