Possible working method to get actual process size on Linux

Stefan Reich stefan.reich.maker.of.eye at googlemail.com
Thu Oct 3 11:50:16 UTC 2019

OK, here is the code:

Can this be linked somewhere? I believe it to be useful. Seems to work on
the machines I tested it on, even though there is mild guesswork involved.

Kernel versions I tested:


On Thu, 3 Oct 2019 at 13:24, Florian Weimer <fw at deneb.enyo.de> wrote:

> * Stefan Reich:
> > I'm still trying to get Linux to report a correct process size when using
> > ZGC (the memory multi-mapping issue).
> What's your kernel version?  Kernel capabilities in this area vary
> somewhat.

Stefan Reich
BotCompany.de // Java-based operating systems

More information about the zgc-dev mailing list