Re: How to set dynamic-space-size when dumping image?

Josef Wolf <[email protected]> Wed, 5 Feb 2025 09:41:58 +0100
Newsgroups gmane.lisp.steel-bank.general
Message-ID <[email protected]>
On Tue, Feb 04, 2025 at 12:40:42PM -0600, Robert Goldman wrote:
> Based on some discussion with Xach, I believe that using
> `:save-runtime-options` is supposed to cause the dynamic space to persist
> into the saved image, but there's a launchpad bug that suggests it does not
> work: https://bugs.launchpad.net/sbcl/+bug/2096995

Thanks for the hint, Robert!

I am not sure I understand what this bug is about. Unfortunately, google can't
find the commit mentioned in the bug.

> I'm not sure what `:save-runtime-options` is supposed to do if not save
> things like dynamic space size...

AFAIU, it is supposed to pass --dynamic-space-size and --control-stack-size
to the saced image. Bug reporter (Zach?) seems to expect that the options
would be passed verbatim. As far as I am concirned, passing the _effects_
of the options is all I am expecting from it.

Maybe :save-runtime-options has been given a bad name? After all, it seems to
save only the effects of those two options and completely ignores all the
other runtime-options.

-- 
Josef Wolf
[email protected]