RFR: 5049299 - (process) Use,posix_spawn, not fork, on S10 to avoid swap,exhaustion (jdk7u-dev)

Rob McKenna rob.mckenna at oracle.com
Tue Nov 5 21:37:26 UTC 2013


Apologies, I forgot to mention the dependency on:

8008118: (process) Possible null pointer dereference in 
jdk/src/solaris/native/java/lang/UNIXProcess_md.c
http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/0111bab8dc35

     -Rob

On 05/11/13 21:24, Rob McKenna wrote:
> ..
>
> http://cr.openjdk.java.net/~robm/5049299/7/webrev.01/
>
>     -Rob
>
> On 05/11/13 21:23, Rob McKenna wrote:
>> Hi folks,
>>
>> I'd like to backport this change to JDK7. Note: this fix uses 
>> posix_spawn by default on Mac OSX only. On Solaris fork will remain 
>> the default behaviour.
>>
>> I've just noticed that there is a problem with the testcase on 
>> Solaris in that it will test fork twice. (and won't test posix_spawn) 
>> I'll figure out a way around this, but in the mean time I'd like to 
>> get the ball rolling on this review anyway.
>>
>>     -Rob
>>
>>
>




More information about the core-libs-dev mailing list