jdk14 fork() problem fix

Eric echriste at ndsuext.nodak.edu
Mon Oct 27 07:08:36 PST 2003


On Thu, 2003-10-23 at 04:28, Alexey Zelkin wrote:
> hi,
> 
> This is an intermediate version of fix of jdk fork problem (i.e.
> Runtime.getRuntime().exec() and friends).
> 
> It does affect only people who use libc_r (kse and thr should not
> be affected).
> 
> Please try this one and report me if it fixes problems for you.

<snip>

I've seen this problem with an application at work that spawns a large
number of external processes using Runtime.getRuntime().exec().  Prior
to this patch, I couldn't even get our nightly run to complete without
hanging.  After patching and rebuilding, I've run it three times without
any hangs.
Incidentally, this has been a problem with various Sun JDKs running
under Linux also.  Sun fixed it once and then broke it again (or broke
something that caused a similar problem) in a later revision.
I'm excited!  Maybe now I can switch my workstation back to FreeBSD. 
This bug has forced to run Linux (and an old JDK) for the last 6 months
or so.

Thanks,
Eric

-- 
Eric <echriste at ndsuext.nodak.edu>



More information about the freebsd-java mailing list