[erlang-patches] Allow the pool of hipe constants to grow at runtime

Björn Gustavsson bgustavsson@REDACTED
Mon Aug 30 15:41:28 CEST 2010


On Sun, Aug 29, 2010 at 9:58 PM, Paul Guyot <pguyot@REDACTED> wrote:
> Hello,
>
> The hipe constants pool was previously set to a static, non-growable pool of 1.5 M words. While this works in most setups, an OTP deployment with many natively compiled modules, including modules with a lot of constants, would crash with:
>
> Native code constants pool depleted!
>

Would it not be better to have a separate constant pool per module,
just as BEAM handles it?

-- 
Björn Gustavsson, Erlang/OTP, Ericsson AB


More information about the erlang-patches mailing list