Increase memory limits for IcedTea

Florian Weimer fw at deneb.enyo.de
Thu Oct 11 10:28:30 PDT 2007


* Andrew Haley:

>  > Maybe.  In this case, Hotspot should use a different method to
>  > reserve the address space.  My concern is that the PROT_NONE trick
>  > works, but is (AFAIK) not documented, and might break in the
>  > future.
>
> Indeed it might.  Indeed, the PROT_NONE trick sounds like it behaves
> in a way that is contrary to the specification.

Hmpf.

> From a support point of view, the way that Java dynamically sets its
> limits based on the capabilities of a particular box is quite scary.
> I can certainly see why it's done, but it does mean that for
> reproducible builds you have to find VM parameter that is set
> dynamically and nail it down.

Well, I'm not sure what's the answer to this problem, and how it relates
to the MAP_NORESERVE/PROT_NONE issue (and if at all).



More information about the distro-pkg-dev mailing list