Review request for 5049299

Martin Buchholz martinrb at google.com
Sat May 30 17:51:25 UTC 2009


I have a prototype implementation that works only for Linux,
only when the environment is inherited,
but seems to show that the clone/fork approach works.

The main idea is that passing these flags:
CLONE_VM | SIGCHLD
to clone() appears to work.
Passing CLONE_VFORK in addition also seems to work,
and may be more reliable.

Michael, we will need to coordinate to come up with
something that will work for all our Unices.

Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/core-libs-dev/attachments/20090530/d4f8547d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clone-exec
Type: application/octet-stream
Size: 10485 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/core-libs-dev/attachments/20090530/d4f8547d/clone-exec.obj>


More information about the core-libs-dev mailing list