Runtime.exec : vfork() concerns and a fix proposal
david.lloyd at redhat.com
Wed Sep 12 13:08:53 UTC 2018
On Wed, Sep 12, 2018 at 2:04 AM Thomas Stüfe <thomas.stuefe at gmail.com> wrote:
> Hi David,
> On Tue, Sep 11, 2018 at 8:29 PM, David Lloyd <david.lloyd at redhat.com> wrote:
> > I think this is a cool idea.
> Thanks. I think I did not come up with it though, I think the
> technique was known already.
> > Do you have any performance numbers?
> small program, just spawning off /bin/true a 1000 times, measured on
> my t450s running Ubuntu 16.4:
> Number open files: <none> 1000 100000
> openjdk8: 305ms 1.5s 115s
> sapjvm8: 721ms 2.3s 142s
> factor 2.4 1.53 1.23
This doesn't seem too bad, even for a first implementation. I wonder
if it could be improved further using e.g. shared memory to reduce
More information about the core-libs-dev