[erlang-patches] Allow the pool of hipe constants to grow at runtime
Mikael Pettersson
mikpe@REDACTED
Mon Aug 30 15:56:09 CEST 2010
bgustavsson@REDACTED wrote:
> 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 ma=
> ny natively compiled modules, including modules with a lot of constants, wo=
> uld 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?
The HiPE runtime doesn't have a module concept. But yes,
one the hypothetical HiPE loader reimplementation in C is
done it should probably be done that way.
/Mikael
More information about the erlang-patches
mailing list