Request for Review: 5049299: (process) Use posix_spawn, not fork, on S10 to avoid swap exhaustion

Martin Buchholz martinrb at google.com
Tue Nov 27 17:45:43 UTC 2012


On Tue, Nov 27, 2012 at 3:06 AM, Alan Bateman <Alan.Bateman at oracle.com>wrote:

>  On 27/11/2012 06:47, Martin Buchholz wrote:
>
> :
>
>  On Solaris bi-arch I think you need only one jprochelper, not two, since
> a 32-bit helper can exec a 64-bit subprocess.
>
>   This is a good point, it needs to know if the target program is 32-bit
> or 64-bit and chose the appropriate trampoline/helper.
>

??

I believe the architecture of the helper and the target program do *not*
matter, since execv can cross architecture boundaries, so you only need one
helper.



More information about the core-libs-dev mailing list