Review request for 5049299
martinrb at google.com
Sun May 24 01:20:40 UTC 2009
I would use _exit instead of standard exit in the process helper code,
as in the existing code, although unlike the existing code,
it doesn't seem to be a correctness issue.
but should have tried to use confstr(_SC_PATH)
as in this example from the confstr manpage:
n = confstr(_CS_PATH,NULL,(size_t) 0);
pathbuf = malloc(n);
if (pathbuf == NULL)
confstr(_CS_PATH, pathbuf, n);
Of course, only within
That's a small portability bug that is worth
fixing now that the jdk sources are targeting more platforms.
On Fri, May 22, 2009 at 03:05, Michael McMahon <Michael.McMahon at sun.com>wrote:
> I have just posted a webrev for 5049299: (process) Use posix_spawn, not
> fork, on S10 to avoid swap exhaustion.
> webrev location: http://cr.openjdk.java.net/~michaelm/5049299/webrev.00/<http://cr.openjdk.java.net/%7Emichaelm/5049299/webrev.00/>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the core-libs-dev